{"name":"MAX_STRUCTURED_OUTPUT_RETRIES","slug":"max-structured-output-retries","family":"env","title":"Environment variables","noun":"environment variable","description":"The first error of a failed run is now handled distinctly from later ones.","description_source":"entry","described_by":{"version":"2.1.248","anchor":"first-error-in-a-failed-run-is-handled-separately"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.248","anchor":"first-error-in-a-failed-run-is-handled-separately","heading":"First error in a failed run is handled separately","line":"The first error of a failed run is now handled distinctly from later ones.","released_at":"2026-08-27 20:35:36","reason":"found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"agent-sdk\/agent-loop","title":"How the agent loop works","documented":false},{"source":"claude-code","path":"agent-sdk\/python","title":"Agent SDK reference - Python","documented":false},{"source":"claude-code","path":"agent-sdk\/structured-outputs","title":"Get structured output from agents","documented":false},{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"workflows","title":"Orchestrate subagents at scale with dynamic workflows","documented":false}],"docs_total":5,"gates":[],"related":[{"name":"MAX_MCP_OUTPUT_TOKENS","slug":"max-mcp-output-tokens","description":"Nonsense values in retry, MCP output and hook timeout env vars now fall back to defaults."},{"name":"MAX_THINKING_TOKENS","slug":"max-thinking-tokens","description":"You now get told when an effort level needs thinking on, and what turned thinking off."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/max-structured-output-retries","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}