Search the documentation
4 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
…| 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
…t 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…