Anthropic Capability minor

Managed Agents can restrict web search and web fetch to allowed domains

Managed Agents `configs` entries for the agent_toolset_20260401 web tools now accept allowed_domains and blocked_domains, plus max_content_tokens for web_fetch and user_location for web_search.

What does this mean for me?

Plan for it
  • Engineering leadership

    Cost, risk, timeline, team impact Plan for it

    You can now confine agent web access to an approved domain list, which is often what security review asks for. Worth a short task to add allowlists to production agents.

  • Engineer

    What to change, what breaks, what to test Plan for it

    Add `allowed_domains` or `blocked_domains` to the `web_search` and `web_fetch` entries in the `agent_toolset_20260401` `configs` array; also available are `max_content_tokens` (web_fetch) and `user_location` (web_search). Expect compile errors after an SDK upgrade as `configs` entries resolve to per-tool types.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do — this is a developer configuration option and does not affect the Claude apps.

Claude Managed Agents gained per-tool egress controls. On the agent_toolset_20260401 configs array, the web_search and web_fetch entries accept allowed_domains or blocked_domains to limit which sites an agent can reach. web_fetch additionally accepts max_content_tokens and web_search accepts user_location.

Each configs entry is identified by its name and typed by an optional type. Requests that pass only name, enabled, and permission_policy continue to work. In the typed SDKs, configs entries now resolve to per-tool types, which is the part most likely to surface as a compile-time change when upgrading an SDK.

API surface

ParameterChangeBreakingModels
allowed_domainsaddedno
blocked_domainsaddedno
max_content_tokensaddedno
user_locationaddedno

Topics: Agents and tool use

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person