.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-08 02:20:24 +00:00
parent e40c15910d
commit 2bfd38ad21
+2
View File
@@ -905,3 +905,5 @@
{"timestamp": "2026-08-08T02:19:33.001744+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": "sensor.octoprint_current_z", "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 2.1767616271972656, "success": true, "error_message": null, "response_size_bytes": 514, "user_context": null}
{"timestamp": "2026-08-08T02:19:36.015818+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "printer", "mode": null, "query": null}, "execution_time_ms": 1.6942024230957031, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Dashboard view path 'printer' is not found.\",\n \"suggestion\": \"Use a view_path returned by ha_config_get_dashboard\"\n },\n \"dashboard_url_path\": \"printer-stats\",\n \"view_path\": \"printer\",\n \"available_view_paths\": [\n \"print\",\n \"history\"\n ]\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-08T02:19:40.659297+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "print", "mode": null, "query": null}, "execution_time_ms": 3.2339096069335938, "success": true, "error_message": null, "response_size_bytes": 6198, "user_context": null}
{"timestamp": "2026-08-08T02:20:18.448465+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "mqtt", "service": "device/debug_info", "entity_id": null, "data": {"device_id": "9b0fd332d68cc7010c998450c00d49f2"}, "return_response": true, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 8.426189422607422, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"API error: 404 - 404: Not Found\",\n \"suggestion\": \"Specify an entity_id for targeted service calls\",\n \"suggestions\": [\n \"Specify an entity_id for targeted service calls\",\n \"Check available services for mqtt domain using ha_get_skill_guide\",\n \"Use ha_search() to find correct entity IDs\"\n ]\n },\n \"domain\": \"mqtt\",\n \"service\": \"device/debug_info\",\n \"entity_id\": null\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-08T02:20:21.995735+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "mqtt", "service": "device/debug_info", "entity_id": "sensor.octoprint_current_z", "data": {"device_id": "9b0fd332d68cc7010c998450c00d49f2", "entity_id": "sensor.octoprint_current_z"}, "return_response": true, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 11.240959167480469, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"ENTITY_NOT_FOUND\",\n \"message\": \"Entity 'sensor.octoprint_current_z' not found\",\n \"details\": \"API error: 404 - 404: Not Found\",\n \"suggestion\": \"Verify sensor.octoprint_current_z exists using ha_get_state()\",\n \"suggestions\": [\n \"Verify sensor.octoprint_current_z exists using ha_get_state()\",\n \"Check available services for mqtt domain using ha_get_skill_guide\",\n \"Use ha_search() to find correct entity IDs\",\n \"For automation: ha_call_service('automation', 'trigger', entity_id='sensor.octoprint_current_z')\",\n \"For universal control: ha_call_service('homeassistant', 'toggle', entity_id='sensor.octoprint_current_z')\"\n ]\n },\n \"entity_id\": \"sensor.octoprint_current_z\"\n}", "response_size_bytes": null, "user_context": null}