.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-07-27 14:51:10 +00:00
parent 055bcdf374
commit 0410cd8e36
+1
View File
@@ -34,3 +34,4 @@
{"timestamp": "2026-07-24T20:18:09.579587+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.mcp_backup_test", "python_transform": "config['actions'][0]['data']['message'] = 'Automation MODIFIED via ha-direct!'", "config_hash": null, "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 0.11897087097167969, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_INVALID_PARAMETER\",\n \"message\": \"config_hash is required for python_transform\",\n \"suggestion\": \"Call ha_config_get_automation() first\",\n \"suggestions\": [\n \"Call ha_config_get_automation() first\",\n \"Use the config_hash from that response\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"identifier\": \"automation.mcp_backup_test\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-07-24T20:18:56.832663+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.mcp_backup_test"}, "execution_time_ms": 76.65252685546875, "success": true, "error_message": null, "response_size_bytes": 549, "user_context": null}
{"timestamp": "2026-07-24T20:20:04.745540+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.mcp_backup_test", "python_transform": "config['actions'][0]['data']['message'] = 'Automation MODIFIED via ha-direct!'", "config_hash": "917969b79f990e58", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 361.44280433654785, "success": true, "error_message": null, "response_size_bytes": 59787, "user_context": null}
{"timestamp": "2026-07-27T14:51:03.968492+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": true, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 30.833005905151367, "success": true, "error_message": null, "response_size_bytes": 1516, "user_context": null}