{"repo":"NousResearch/hermes-agent","public_id":"22688","display_label":"Tool-call parsing issues with nested JSON and inline XML","summary":"Most members concern how tool_use/tool_call blocks are extracted from model output, with reports of regex-based parsing mishandling nested JSON or closing tags inside JSON strings. One member proposes a brace-depth scanner, and another covers recovering inline XML tool calls from chat-completion content, which is adjacent but may be a distinct case.","subsystem":"acp","counts":{"members":4,"open_issues":1,"open_issues_distinct":1,"open_prs":1,"closed_issues":1,"merged_prs":0,"attempt_prs":2},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_PARTIAL","link_density":0.3933333333333333},"fix_edges":[],"members":[{"kind":"issue","number":22688,"title":"Bug: tool_use regex parser fails with nested JSON — blocks pass through as raw text","url":null,"state":"closed"},{"kind":"issue","number":22696,"title":"BUG: tool_use parser fails intermittently when closing tag appears inside JSON strings","url":null,"state":"open"},{"kind":"pr","number":23508,"title":"Recover inline XML tool calls from chat-completion content","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#22696","number":22696},{"kind":"pr","value":"#23888","number":23888}],"category":"uncategorized","implication":"needs_llm"},"merged":false},{"kind":"pr","number":23888,"title":"fix(agent): replace fragile tool_call regex with brace-depth scanner for nested JSON","url":null,"state":"open","close_reason":{"refs":[{"kind":"pr","value":"#23508","number":23508}],"category":"uncategorized","implication":"needs_llm"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}