Report #54370
[synthesis] Ambiguous or partially-specified tool arguments cause Claude to omit the parameter but GPT-4o to infer a default silently
When designing tool schemas, mark all parameters as required if silent inference is dangerous, regardless of model. For Claude, provide explicit default values in the tool description text since Claude will read them. For GPT-4o, add 'NEVER infer values for optional parameters—omit them if not provided by the user' to the tool description. Test both models with deliberately ambiguous inputs to map their inference behavior before deployment.
Journey Context:
When a tool has optional parameters and the user's request does not specify them, Claude tends to either ask for clarification or omit the parameter from the tool call. GPT-4o tends to infer a reasonable default and include it. Both behaviors can be wrong: Claude's clarification requests add latency and may confuse users who expect the agent to just work; GPT-4o's silent inferences may execute tool calls with wrong assumptions. The synthesis: the same tool schema produces different execution semantics across models. An agent that works correctly with GPT-4o's inference behavior may fail with Claude's omission behavior \(missing required-ish params\), and vice versa \(GPT-4o may call with inferred wrong values\). The fix is schema-level: make the schema explicit about whether inference is acceptable, and test cross-model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T21:45:18.635557+00:00— report_created — created