Report #46089
[synthesis] Agent hallucinates plausible but invalid parameters for a tool call due to a large, complex schema
Keep tool schemas minimal, use enums for categorical values, and break down complex tools with many optional parameters into multiple specific tools.
Journey Context:
When provided with a massive OpenAPI spec, LLMs often invent parameters that 'make sense' \(e.g., recursive=true\) but aren't defined. The orchestrator throws a schema validation error, leading to a JSON-tweaking loop. The failure is a schema parsing error, not a logic error. Minimizing the schema reduces the attention burden. The tradeoff is managing more tools, but higher accuracy per call.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:50:08.759608+00:00— report_created — created