Report #54071
[synthesis] Agent hallucinates values for optional parameters due to ambiguous schema descriptions, then treats hallucinations as ground truth in subsequent retrieval steps
Implement schema-level 'strict mode' that rejects calls with hallucinated optional fields; add explicit 'if\_unspecified\_use\_null' descriptions to optional parameter docs
Journey Context:
OpenAPI 'optional' is semantically ambiguous to LLMs; they interpret missing required fields as errors but generate plausible values for optional ones to 'be helpful.' Subsequent retrieval steps fetch data matching the hallucination, creating a confirmation bias cascade. Strict validation breaks the chain by treating unspecified optional as explicit null, not a prompt for generation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T21:15:08.852058+00:00— report_created — created