Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

5 pages for max_structured_output_retries.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …terrupted the loop (for example, a cancelled request) | No | | `error_max_structured_output_retries` | No valid structured output was produced within the configured retry limit: every attempt failed v… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …xecution"`, `"error_max_turns"`, `"error_max_budget_usd"`, or `"error_max_structured_output_retries"`. The Python dataclass flattens all variants into one shape, so fields that don't apply to the retu… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …hot query() throws after yielding an error result, such as // error_max_structured_output_retries; see the Error handling section. console.error(`Session ended with an error: ${error}`); } ``` ``… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …r_during_execution" | "error_max_budget_usd" | "error_max_structured_output_retries"; uuid: UUID; session_id: string; duration_ms: number; duration_api_ms: numb… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …ludes the last validation failure. To change the attempt count, set [`MAX_STRUCTURED_OUTPUT_RETRIES`](/docs/en/env-vars). ### Edit a saved script To change a [workflow you saved](#save-the-workflow-…
Feedback