{"name":"CLAUDE_CODE_WEBFETCH_USE_CCR_PROXY","slug":"claude-code-webfetch-use-ccr-proxy","family":"env","title":"Environment variables","noun":"environment variable","description":"Routing WebFetch through the CCR proxy now depends on `CLAUDE_CODE_WEBFETCH_USE_CCR_PROXY` instead of being worked out from session state","description_source":"entry","described_by":{"version":"2.1.299","anchor":"webfetch-ccr-proxy-now-keyed-on-an-env-var"},"presence":{"first_seen":"2.1.169","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":121,"mined_builds":149,"first_cited":{"version":"2.1.299","released_at":"2026-10-14 00:23:19","spans":1}},"aliases":[],"entries":[{"version":"2.1.299","anchor":"webfetch-ccr-proxy-now-keyed-on-an-env-var","heading":"WebFetch proxy routing is now switched on by an environment variable","line":"Routing WebFetch through the CCR proxy now depends on `CLAUDE_CODE_WEBFETCH_USE_CCR_PROXY` instead of being worked out from session state","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text, named in this entry"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS","slug":"claude-code-webfetch-cache-ttl-ms","description":"You can set how long WebFetch keeps pages cached, in milliseconds."},{"name":"CLAUDE_CODE_WEBFETCH_DEADLINE_MS","slug":"claude-code-webfetch-deadline-ms","description":"WebFetch requests now enforce a timeout and fail with a clear deadline error if exceeded"},{"name":"CLAUDE_CODE_WEBFETCH_PROXY_PATH","slug":"claude-code-webfetch-proxy-path","description":"A path for routing WebFetch through a proxy endpoint. When the API provider is first-party and the value starts with `\/` and contains no `:\/\/`, WebFetch skips its direct fetch and domain preflight and POSTs `{url}` (with `http:\/\/` rewritten to `https:\/\/`) to `ANTHROPIC_BASE_URL` (default `https:\/\/api.anthropic.com`) plus this path, with a 40 second timeout; a failed proxy call fails the fetch with the `web-fetch-ccr-proxy` error. Any other value is ignored."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-webfetch-use-ccr-proxy","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}