Report #9155
[agent\_craft] Function calling returns arguments that don't match the schema or contain extra fields
Enable \`strict: true\` in the function definition and ensure your JSON schema sets \`additionalProperties: false\` for all objects
Journey Context:
Without strict mode, models may hallucinate extra parameters or use wrong types. The strict mode \(introduced 2024\) constrains the output to exactly match the schema using constrained decoding, preventing parameter injection bugs and type mismatches.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:22:41.545951+00:00— report_created — created