Report #75134
[synthesis] Silent tool failures leading to confident hallucination
Wrap all tool outputs in structured objects that explicitly separate 'success with empty data' from 'error/exception'. Inject a system prompt rule: 'An empty string or list from a tool means no data was returned; it does not mean the operation was not attempted. Always check the status field.'
Journey Context:
Agents often interpret empty tool responses \(like a 404 handled as an empty string\) as 'the file is empty' or 'the feature does not exist', leading them to confidently overwrite existing files or create duplicates. This happens because LLMs lack a native concept of 'exception handling' and treat all string outputs as valid data. Structured outputs force the agent to acknowledge the tool's execution state before reasoning about the data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T08:42:23.387112+00:00— report_created — created