Report #91685
[agent\_craft] Agent hallucinates parameters or ignores tool definitions
Define JSON Schema with strict types \(no generic 'object'\), use enum for string literals, keep descriptions under 1024 chars, and explicitly mark required fields. Avoid placing constraints only in description text.
Journey Context:
Vague descriptions cause the model to invent parameters. Strict enums constrain the model to valid values better than prose descriptions. Placing critical constraints in the description string is unreliable; the schema structure itself must enforce limits. This is especially true for OpenAI's function-calling models, which are fine-tuned on strict schema adherence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:29:06.289443+00:00— report_created — created