{"version":"2.1.328","anchor":"web-fetch-head-start-new-streaming-prefetch-of-webfetch-url","canonical_anchor":"webfetch-starts-a-head-request-ahead-of-the-call-and-dedups","heading":"WebFetch can start fetching a page before the tool call runs","tier":"soon","area":"WebFetch","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/web-fetch-head-start-new-streaming-prefetch-of-webfetch-url","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### WebFetch can start fetching a page before the tool call runs\n\nNew WebFetch head start begins fetching a URL while Claude is still writing the tool call, behind gates and many safety checks\n\n**What**\n\nWebFetch is the tool Claude Code uses to read a web page. A tool call is Claude asking Claude Code to run one of its tools. New code lets WebFetch begin fetching a page early, labelled `ahead_of_call`, before the tool call has finished arriving.\n\n- Early start: it watches the tool call's input as it streams in, picks the `url` out of the first field, and starts the fetch before the call is complete. If the final URL matches, it reuses the result.\n\n- Auto mode: it can also start early under auto mode, behind a second gate, `tengu_purring_pebble`.\n\n- Guards: many checks stop the early fetch, with reasons such as `not_eligible`, `hook`, `plugin`, `deny_or_ask_rule` and `already_have`. It turns itself off after repeated refusals.\n\n- Request shape: in `ahead_of_call` mode the request sent through the WebFetch proxy carries `{ listed_url }` instead of `{ url }`, and is tried only once (`maxAttempts: 1`).\n\n- Related gates: `tengu_velvet_cairn` controls a note about repeat fetches, and `tengu_patient_finch` controls a shortcut for URLs that failed earlier.\n\nThe main gate is `tengu_lucky_dove`, which is also tied to an extra check on where the gate's value came from. A gate is a switch Anthropic can turn on or off remotely. `tengu_lucky_dove` and `tengu_purring_pebble` both fall back to off in the code, and nothing has been read about either from the flag server, which is unread, not off. The v2.1.327 build compiled `tengu_velvet_cairn` and `tengu_patient_finch` on by default; no reading of them has been taken under this release. No capture of WebFetch's own description has been taken under this release.\n\n**Why**\n\nStarting the fetch early could make WebFetch noticeably faster. It also changes when network requests happen relative to permission decisions, and could add extra requests, which matters to anyone watching what Claude Code fetches and when.\n\n- Flag `tengu_lucky_dove`: Not enough to say (read for one account on one subscription tier against v2.1.328; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: WebFetch\n- Names: `tengu_lucky_dove`\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}