DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.
You can set how long WebFetch keeps pages cached, in milliseconds.
What's wrong with this entry?
Anonymous. No account, no email.
CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS
What
CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS sets how long fetched pages stay cached, in milliseconds. Without it the built-in default applies. The value is read once on first use and also drives the cache duration shown in WebFetch output.
Details
Validated as a digits-only integer with a minimum of 1.
Usage
CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS=900000 claude
Evidence
CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS
Strings lifted out of the shipped bundle, so the claim above can be checked against them.