.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-07-29 15:22:17 +00:00
parent 6b078a9859
commit 02c2a167f4
+1
View File
@@ -280,3 +280,4 @@
{"timestamp": "2026-07-29T15:20:55.262787+00:00", "tool_name": "ha_get_device", "parameters": {"device_id": null, "entity_id": "camera.front_door_front_door", "integration": null, "area_id": null, "manufacturer": null, "limit": 50, "offset": 0, "detail_level": "summary"}, "execution_time_ms": 163.74778747558594, "success": true, "error_message": null, "response_size_bytes": 1311, "user_context": null}
{"timestamp": "2026-07-29T15:21:49.272586+00:00", "tool_name": "ha_get_integration", "parameters": {"entry_id": "01KTNB20MBW0J8P6HRGJF3VF6T", "query": null, "domain": null, "include_options": true, "include_schema": false, "include_subentries": false, "include_subentry_schema": false, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "exact_match": true, "limit": 50, "offset": 0, "include_diagnostics": false, "include_knx_project": false, "device_id": null, "diagnostics_fields": null, "diagnostics_truncate_at_bytes": null, "diagnostics_data_path": null, "diagnostics_data_offset": 0, "diagnostics_data_limit": null}, "execution_time_ms": 11.871814727783203, "success": true, "error_message": null, "response_size_bytes": 669, "user_context": null}
{"timestamp": "2026-07-29T15:21:59.073784+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "camera", "service": "play_stream", "entity_id": "camera.front_door_front_door", "data": {"media_player": "media_player.shield_2", "format": "hls", "entity_id": "camera.front_door_front_door"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 14.332771301269531, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"API error: 500 - 500 Internal Server Error\\n\\nServer got itself in trouble\",\n \"suggestion\": \"Verify camera.front_door_front_door exists using ha_get_state()\",\n \"suggestions\": [\n \"Verify camera.front_door_front_door exists using ha_get_state()\",\n \"Check available services for camera 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='camera.front_door_front_door')\",\n \"For universal control: ha_call_service('homeassistant', 'toggle', entity_id='camera.front_door_front_door')\"\n ]\n },\n \"domain\": \"camera\",\n \"service\": \"play_stream\",\n \"entity_id\": \"camera.front_door_front_door\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-07-29T15:22:11.377232+00:00", "tool_name": "ha_search", "parameters": {"query": "homekit", "domain_filter": "camera", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 166.12672805786133, "success": true, "error_message": null, "response_size_bytes": 764, "user_context": null}