Report #97009
[synthesis] Tool call failures or ignored parameters when using nested $ref in JSON schemas for tool arguments
Flatten all JSON schemas to a single level. Replace $ref with inline definitions. Avoid additionalProperties unless strictly necessary and supported by the target model.
Journey Context:
GPT-4o supports $ref but strictly enforces additionalProperties: false, often failing generation if complex refs are used. Mistral frequently fails to resolve nested $ref references, resulting in missing arguments. Claude handles $ref better but often hallucinates values for optional fields in nested objects rather than omitting them. Cross-model portability demands flattened schemas.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:24:49.136061+00:00— report_created — created