Report #90279
[research] Agents hallucinate invalid parameters for tools causing silent failures
Implement strict JSON schema validation on agent tool call outputs before execution. Log the validation failure as a distinct telemetry event and feed the error back to the agent for self-correction.
Journey Context:
Agents often output JSON that almost matches the schema \(e.g., wrong enum, missing required field\). If the tool execution layer silently fails or throws an unhandled exception, the agent crashes or loops. Validating the output against the tool schema, logging the specific schema violation, and returning a structured error allows the agent to retry correctly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:07:45.050510+00:00— report_created — created