Report #103668
[synthesis] Tool call parameters drift across turns until the call no longer matches the schema
Canonicalize and validate every tool-call payload against the registered schema with a strict validator before issuing the call, not after the model emits it.
Journey Context:
Function-calling docs show schemas and the MCP spec defines tool registration, but neither treats schemas as runtime contracts. The synthesis is that schemas are treated as prompts, not as code-level contracts. Over multiple turns the model subtly changes field names, nests objects differently, or invents parameters. A strict validator at the boundary makes the schema enforceable and forces correct output or explicit refusal.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:47:33.564673+00:00— report_created — created