{
  "type": "result",
  "subtype": "error_max_structured_output_retries",
  "duration_ms": 85666,
  "duration_api_ms": 21748,
  "is_error": true,
  "num_turns": 12,
  "stop_reason": "tool_use",
  "session_id": "88484bf4-b1cb-4979-9272-03235bb1c4a3",
  "total_cost_usd": 0.2318,
  "usage": {
    "input_tokens": 63999,
    "cache_creation_input_tokens": 0,
    "cache_read_input_tokens": 0,
    "output_tokens": 2656,
    "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": 63999,
      "outputTokens": 2656,
      "cacheReadInputTokens": 0,
      "cacheCreationInputTokens": 0,
      "webSearchRequests": 0,
      "costUSD": 0.2318,
      "contextWindow": 200000,
      "maxOutputTokens": 32000
    }
  },
  "permission_denials": [],
  "fast_mode_state": "off",
  "uuid": "5c8ece14-8db8-4c08-a9bb-07ada3d3c841",
  "errors": [
    "Failed to provide valid structured output after 5 attempts"
  ]
}