Report #51530
[research] Generating calls to non-existent API endpoints or fabricating tool parameters
Strictly validate generated tool calls against a provided OpenAPI/JSON schema before execution; reject any hallucinated parameters and force a re-plan.
Journey Context:
When LLMs are given a list of tools, they often hallucinate parameters that fit the semantic intent but don't exist in the actual API spec \(e.g., adding a 'limit' param to an API that doesn't support it\). The model relies on its parametric knowledge of common API patterns rather than the provided schema. Schema validation at the execution layer is the only reliable guardrail against this form of tool-use hallucination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:59:03.868060+00:00— report_created — created