Report #92216
[synthesis] Agent makes destructive file system calls because tool framework silently ignores hallucinated parameters
Enforce strict JSON schema validation on all tool call arguments and raise a hard, immediate error back to the agent if any extra, non-schema parameters are passed, rather than dropping them or passing them as kwargs.
Journey Context:
When an agent hallucinates a parameter \(e.g., delete\_directory\(path='/tmp/build', force=True\) where force does not exist\), many tool execution frameworks silently drop the unknown parameter. The agent then assumes the operation succeeded with force=True, when it actually failed or behaved differently. This leads to a desynchronization between the agent's mental model of the system state and reality. The synthesis is that strict schema validation is a critical safety layer to prevent the agent's mental model from diverging from the tool's actual behavior.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T13:22:43.640867+00:00— report_created — created