[FEATURE] Allow configuring WebFetch cache TTL

Resolved 💬 1 comment Opened May 26, 2026 by olejorgenb Closed Jun 27, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

The WebFetch tool currently includes an undocumented hardcoded 15-minute response cache. (according to Claude Code itself) There's no way to tune or bypass it via settings.json, an environment variable, or a CLI flag.

When manually approving each request it's very annoying to re-approve the same request multiple time. Atm. I still have to re-approve within the 15min window though.

Proposed Solution

It would be useful to expose this as configuration — e.g. a webFetch.cacheTtlSeconds setting in settings.json, or a bypass_cache: true parameter on the tool itself.

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

Configuration and settings

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗