Report Issue or Feedback
ha_report_issueGenerate templates for reporting bugs or agent behavior issues, including logs, diagnostics, and submission guidance.
Instructions
Get diagnostic information and templates for filing issue reports or feedback.
This tool generates templates for TWO types of reports:
Runtime Bug Report - For ha-mcp errors, failures, unexpected behavior
Agent Behavior Feedback - For AI agent inefficiency, wrong tool usage
IMPORTANT FOR AI AGENTS: You MUST analyze the conversation context to determine which template to present:
š Present RUNTIME BUG template if:
User reports an error, failure, or unexpected behavior
A tool returned an error or incorrect result
Something is broken or not working in ha-mcp
š¤ Present AGENT BEHAVIOR template if:
User mentions YOU (the agent) used the wrong tool
User suggests a more efficient workflow
User reports YOUR inefficiency or mistakes
User says you should have done something differently
If unclear which type, ASK the user: "Are you reporting a bug in ha-mcp, or providing feedback on how I used the tools?"
WHEN TO USE THIS TOOL:
"I want to file a bug/issue/report"
"This isn't working"
"You should have used [other tool]"
"That was inefficient"
OUTPUT: Returns both templates plus diagnostic data. The full response is LARGE (the captured logs appear in the raw log keys AND inside each template) ā pass fields=... to fetch only the keys you need once you know which template applies. Key fields:
runtime_bug_template,agent_behavior_templateā pick based on contextrecent_logs,startup_logsā captured ha-mcp tool/server log entriesaddon_logsā addon container stdout/stderr (HA add-on installs only; empty string otherwise)core_error_logā Home Assistant error log (home-assistant.log) over REST; carries auth / integration errors that don't show in addon_logsmissing_tool_hintā check this FIRST when the report is about a missing/unavailable tool; a stale client tool list (not a bug) is the usual cause, and refreshing the MCP connection is the fixsuggested_title,duplicate_check_urls,anonymization_guide
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Return only the specified top-level response keys ā the full response (both templates + logs + diagnostics, with log content repeated across the raw keys and templates) is very large. None = full response. Typical for a runtime bug: 'runtime_bug_template,suggested_title,runtime_bug_submit_url,duplicate_check_urls,anonymization_guide,instructions'; for agent feedback swap in agent_behavior_template and agent_behavior_submit_url. The templates already embed the relevant logs, so the raw log keys are only needed for your own analysis. Available keys: diagnostic_info, recent_logs, startup_logs, addon_logs, core_error_log, log_count, startup_log_count, formatted_report, runtime_bug_template, agent_behavior_template, anonymization_guide, suggested_title, runtime_bug_submit_url, agent_behavior_submit_url, duplicate_check_urls, missing_tool_hint, instructions. | |
| tool_call_count | No | Number of tool calls made since the issue started. This determines how many log entries to include. Count how many ha_* tools were called from when the issue began. Default: 10. Max: 16 (limited by 200-entry log buffer: 16*4*3=192) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||