Report #47748
[frontier] Tool outputs violate expected schemas causing parsing failures and agent loops
Enforce strict JSON Schema validation on both inputs and outputs using 'strict': true \(OpenAI\) or similar, treating tool contracts as typed API boundaries
Journey Context:
Agents often fail when tools return malformed JSON or extra fields, causing retry loops or hallucinated fixes. The shift is to use Structured Outputs with strict schema adherence \(additionalProperties: false\), ensuring the LLM generates exactly the schema. This turns tool interfaces into compile-time-checked contracts, allowing agents to reason about guaranteed data shapes and fail fast on schema violations rather than silent corruption. This is critical for reliable multi-step tool chains.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:37:46.400834+00:00— report_created — created