{
  "type": "result",
  "subtype": "error_max_structured_output_retries",
  "duration_ms": 1502339,
  "duration_api_ms": 90912,
  "is_error": true,
  "num_turns": 48,
  "stop_reason": "tool_use",
  "session_id": "020791e2-1a60-4b38-b1f9-ba38633e2c1e",
  "total_cost_usd": 2.4419,
  "usage": {
    "input_tokens": 779232,
    "cache_creation_input_tokens": 0,
    "cache_read_input_tokens": 0,
    "output_tokens": 6950,
    "server_tool_use": {
      "web_search_requests": 0,
      "web_fetch_requests": 0
    },
    "service_tier": "standard",
    "cache_creation": {
      "ephemeral_1h_input_tokens": 0,
      "ephemeral_5m_input_tokens": 0
    },
    "inference_geo": "",
    "iterations": [],
    "speed": "standard"
  },
  "modelUsage": {
    "claude-sonnet-4-6": {
      "inputTokens": 779232,
      "outputTokens": 6950,
      "cacheReadInputTokens": 0,
      "cacheCreationInputTokens": 0,
      "webSearchRequests": 0,
      "costUSD": 2.4419,
      "contextWindow": 200000,
      "maxOutputTokens": 32000
    }
  },
  "permission_denials": [],
  "fast_mode_state": "off",
  "uuid": "91750d93-60be-4384-991b-ef42761e5d2d",
  "errors": [
    "Failed to provide valid structured output after 5 attempts"
  ]
}