[
	{
		"scope": "https://api.anthropic.com:443",
		"method": "POST",
		"path": "/v1/messages",
		"body": {
			"model": "claude-haiku-4-5",
			"max_tokens": 64000,
			"system": [
				{
					"type": "text",
					"text": "You are a data fetcher. Use fetch_data to get data. If the tool fails with an error, acknowledge it and say what happened. Be concise."
				}
			],
			"messages": [
				{
					"role": "user",
					"content": [
						{
							"type": "text",
							"text": "Fetch data with id \"test-1\""
						}
					]
				}
			],
			"tools": [
				{
					"name": "fetch_data",
					"description": "Fetch some data. Always succeeds but transform throws.",
					"input_schema": {
						"type": "object",
						"properties": {
							"id": {
								"type": "string",
								"description": "Resource ID"
							}
						},
						"required": ["id"],
						"additionalProperties": false,
						"$schema": "http://json-schema.org/draft-07/schema#"
					}
				}
			],
			"tool_choice": {
				"type": "auto"
			}
		},
		"status": 200,
		"response": "{\"model\":\"claude-haiku-4-5-20251001\",\"id\":\"msg_016pj2atpXe6AyaRNtJLB79B\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"tool_use\",\"id\":\"toolu_01B9VrEf8WUjSXqWGHKxQRkU\",\"name\":\"fetch_data\",\"input\":{\"id\":\"test-1\"},\"caller\":{\"type\":\"direct\"}}],\"stop_reason\":\"tool_use\",\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":641,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":56,\"service_tier\":\"standard\",\"inference_geo\":\"not_available\"}}",
		"rawHeaders": {
			"anthropic-ratelimit-input-tokens-limit": "10000000",
			"anthropic-ratelimit-input-tokens-remaining": "10000000",
			"anthropic-ratelimit-input-tokens-reset": "2026-07-03T09:48:42Z",
			"anthropic-ratelimit-output-tokens-limit": "2000000",
			"anthropic-ratelimit-output-tokens-remaining": "2000000",
			"anthropic-ratelimit-output-tokens-reset": "2026-07-03T09:48:42Z",
			"anthropic-ratelimit-requests-limit": "20000",
			"anthropic-ratelimit-requests-remaining": "19998",
			"anthropic-ratelimit-requests-reset": "2026-07-03T09:48:41Z",
			"anthropic-ratelimit-tokens-limit": "12000000",
			"anthropic-ratelimit-tokens-remaining": "12000000",
			"anthropic-ratelimit-tokens-reset": "2026-07-03T09:48:42Z",
			"cf-cache-status": "DYNAMIC",
			"cf-ray": "a154f9d5cc3c5bb9-VIE",
			"connection": "keep-alive",
			"content-security-policy": "default-src 'none'; frame-ancestors 'none'",
			"content-type": "application/json",
			"date": "Fri, 03 Jul 2026 09:48:42 GMT",
			"request-id": "req_011CceuyQJgTLrDkmE3bH68M",
			"server": "cloudflare",
			"strict-transport-security": "max-age=31536000; includeSubDomains; preload",
			"traceresponse": "00-8d11c2b98604283a05632609b5147d4d-7707967d94b2466d-01",
			"vary": "Accept-Encoding",
			"x-robots-tag": "none"
		},
		"responseIsBinary": false
	},
	{
		"scope": "https://api.anthropic.com:443",
		"method": "POST",
		"path": "/v1/messages",
		"body": {
			"model": "claude-haiku-4-5",
			"max_tokens": 64000,
			"system": [
				{
					"type": "text",
					"text": "You are a data fetcher. Use fetch_data to get data. If the tool fails with an error, acknowledge it and say what happened. Be concise."
				}
			],
			"messages": [
				{
					"role": "user",
					"content": [
						{
							"type": "text",
							"text": "Fetch data with id \"test-1\""
						}
					]
				},
				{
					"role": "assistant",
					"content": [
						{
							"type": "tool_use",
							"id": "toolu_01B9VrEf8WUjSXqWGHKxQRkU",
							"name": "fetch_data",
							"input": {
								"id": "test-1"
							},
							"caller": {
								"type": "direct"
							}
						}
					]
				},
				{
					"role": "user",
					"content": [
						{
							"type": "tool_result",
							"tool_use_id": "toolu_01B9VrEf8WUjSXqWGHKxQRkU",
							"content": "Error: toModelOutput failed intentionally",
							"is_error": true
						}
					]
				}
			],
			"tools": [
				{
					"name": "fetch_data",
					"description": "Fetch some data. Always succeeds but transform throws.",
					"input_schema": {
						"type": "object",
						"properties": {
							"id": {
								"type": "string",
								"description": "Resource ID"
							}
						},
						"required": ["id"],
						"additionalProperties": false,
						"$schema": "http://json-schema.org/draft-07/schema#"
					}
				}
			],
			"tool_choice": {
				"type": "auto"
			}
		},
		"status": 200,
		"response": "{\"model\":\"claude-haiku-4-5-20251001\",\"id\":\"msg_01AqUQ3Fcad2esrHTDSrhGsL\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[{\"type\":\"text\",\"text\":\"The fetch_data call failed with an error: \\\"toModelOutput failed intentionally\\\". The function was able to retrieve the data but encountered an error during the transform step.\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":725,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":38,\"service_tier\":\"standard\",\"inference_geo\":\"not_available\"}}",
		"rawHeaders": {
			"anthropic-ratelimit-input-tokens-limit": "10000000",
			"anthropic-ratelimit-input-tokens-remaining": "10000000",
			"anthropic-ratelimit-input-tokens-reset": "2026-07-03T09:48:42Z",
			"anthropic-ratelimit-output-tokens-limit": "2000000",
			"anthropic-ratelimit-output-tokens-remaining": "2000000",
			"anthropic-ratelimit-output-tokens-reset": "2026-07-03T09:48:43Z",
			"anthropic-ratelimit-requests-limit": "20000",
			"anthropic-ratelimit-requests-remaining": "19999",
			"anthropic-ratelimit-requests-reset": "2026-07-03T09:48:42Z",
			"anthropic-ratelimit-tokens-limit": "12000000",
			"anthropic-ratelimit-tokens-remaining": "12000000",
			"anthropic-ratelimit-tokens-reset": "2026-07-03T09:48:42Z",
			"cf-cache-status": "DYNAMIC",
			"cf-ray": "a154f9dcbb4f5bb9-VIE",
			"connection": "keep-alive",
			"content-security-policy": "default-src 'none'; frame-ancestors 'none'",
			"content-type": "application/json",
			"date": "Fri, 03 Jul 2026 09:48:43 GMT",
			"request-id": "req_011CceuyV6fK9L8GGKk8gbZC",
			"server": "cloudflare",
			"strict-transport-security": "max-age=31536000; includeSubDomains; preload",
			"traceresponse": "00-07005ea3b9bc527ab953601415a96a16-618c9a2a91b5bafa-01",
			"vary": "Accept-Encoding",
			"x-robots-tag": "none"
		},
		"responseIsBinary": false
	}
]
