Report #69610
[synthesis] Agent treats hallucinated structured data in tool responses as ground truth, cascading into catastrophic tool calls
Schema validation with probabilistic truth markers: parse tool outputs with Pydantic, flag fields with low token probability/confidence scores, and require explicit agent confirmation before using values in subsequent tool parameters.
Journey Context:
Tool APIs \(especially LLM-powered ones or web scrapers\) return JSON that looks structurally valid but contains confabulated values—phone numbers that don't exist, IDs that aren't in the database. The agent sees valid JSON and assumes 'this is real data.' Common mistake: treating HTTP 200 \+ valid JSON as truth. Alternative: naive string matching against source, but tools return derived/transformed data. The probabilistic approach uses the LLM's own logprobs or explicit uncertainty flags in tool schemas to mark 'this value might be synthetic.'
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:19:38.129983+00:00— report_created — created