{
  "type": "result",
  "subtype": "error_max_structured_output_retries",
  "duration_ms": 72674,
  "duration_api_ms": 28382,
  "is_error": true,
  "num_turns": 15,
  "stop_reason": "tool_use",
  "session_id": "4f609789-d730-4b22-9aee-2c4ca0634f55",
  "total_cost_usd": 0.388,
  "usage": {
    "input_tokens": 113990,
    "cache_creation_input_tokens": 0,
    "cache_read_input_tokens": 0,
    "output_tokens": 3071,
    "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": 113990,
      "outputTokens": 3071,
      "cacheReadInputTokens": 0,
      "cacheCreationInputTokens": 0,
      "webSearchRequests": 0,
      "costUSD": 0.388,
      "contextWindow": 200000,
      "maxOutputTokens": 32000
    }
  },
  "permission_denials": [],
  "fast_mode_state": "off",
  "uuid": "8b1487ae-c955-4683-9c29-ab9fd725fc51",
  "errors": [
    "Failed to provide valid structured output after 5 attempts"
  ]
}