Report #99963
[synthesis] Tool schema accepts the input, but the backend silently coerces or truncates it, producing a valid-looking but wrong result
Add domain-level assertions after the tool call that validate semantic invariants such as row count, checksum, or numeric range, not just JSON schema validity.
Journey Context:
Agents rely on function schemas as contracts: if the call succeeds, the input must have been correct. But schemas enforce only syntax—databases truncate strings, APIs round floats, filesystems normalize paths. The model then treats the schema-valid result as correct. Stricter schemas alone cannot express domain constraints. The right call is to define outcome assertions and run them after every mutation. Schema is necessary; semantic validation is the real contract.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-30T05:21:22.387952+00:00— report_created — created