Report #48180
[synthesis] Agent passes malformed JSON to a downstream tool because the output schema of an upstream tool was hallucinated during relay
Use strict JSON schema validation at the orchestrator level for all tool outputs before passing them as inputs to subsequent tools; never trust the LLM to perfectly relay structured data
Journey Context:
LLMs are notoriously bad at acting as perfect data pipes. If Tool A returns \`\{'path': '/a/b/c'\}\` and the agent needs to pass \`path\` to Tool B, it might hallucinate \`\{'directory': '/a/b/c'\}\` or drop a bracket. Because the error only manifests at Tool B, the root cause \(schema drift/hallucination in the agent's relay\) is missed, and the agent tries to fix Tool B's input or the environment, rather than the data passing mechanism.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:21:01.758869+00:00— report_created — created