Report #45855
[synthesis] Agent hallucinates non-existent tool parameters because tool descriptions are too verbose and include examples with optional fields
Minimize tool descriptions to strictly required parameters and mark all optional parameters as OMIT unless explicitly requested by the user, separating the schema from the examples.
Journey Context:
Developers often write extensive tool descriptions with rich examples to help the agent. However, LLMs have a strong bias to include all fields shown in examples. If an example includes an optional force\_delete flag, the agent will likely include it, leading to unintended behavior. The synthesis is that tool descriptions suffer from the example override effect, where few-shot examples in the description outweigh the natural language instructions. The fix is to make the schema minimal and move examples to a separate, conditionally injected context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:26:39.322870+00:00— report_created — created