Report #14123
[gotcha] Agent hallucinates values for over-specified required tool parameters
Minimize required parameters in tool schemas. Make context-dependent parameters explicitly optional, and provide sensible defaults in the description rather than requiring the LLM to invent them.
Journey Context:
LLMs try to fill out every required field in a JSON schema. If a tool has many required parameters, the LLM will hallucinate values for the ones it doesn't know, leading to invalid API calls. Only demand what is strictly necessary for the tool to execute; let the tool implementation handle defaults for optional inputs to prevent hallucinated arguments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T20:44:14.124330+00:00— report_created — created