{
  "type": "result",
  "subtype": "error_max_structured_output_retries",
  "duration_ms": 38480,
  "duration_api_ms": 23606,
  "is_error": true,
  "num_turns": 14,
  "stop_reason": "tool_use",
  "session_id": "e5f8439d-bd7a-4fa5-9bef-27058c8faed6",
  "total_cost_usd": 0.2489,
  "usage": {
    "input_tokens": 69803,
    "cache_creation_input_tokens": 0,
    "cache_read_input_tokens": 0,
    "output_tokens": 2631,
    "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": 69803,
      "outputTokens": 2631,
      "cacheReadInputTokens": 0,
      "cacheCreationInputTokens": 0,
      "webSearchRequests": 0,
      "costUSD": 0.2489,
      "contextWindow": 200000,
      "maxOutputTokens": 32000
    }
  },
  "permission_denials": [],
  "fast_mode_state": "off",
  "uuid": "aa34bc92-fc8a-4672-872a-527d3b284883",
  "errors": [
    "Failed to provide valid structured output after 5 attempts"
  ]
}