Managed Agents limited networking now restricts web search and web fetch to allowed_hosts
In Claude Managed Agents environments with limited networking, web_fetch and web_search now honor allowed_hosts, and creating or updating a session fails with a 400 when a web tool's allowed_domains entry falls outside allowed_hosts.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Action neededManaged Agents with limited networking can start failing web lookups or session creation now. Have the owning team audit environments today; the fix is a configuration change, not a rebuild.
Engineer
What to change, what breaks, what to test Action neededFor each limited-networking environment, add every host your agents fetch or search to allowed_hosts (use *.example.com for subdomains), and make sure every web tool allowed_domains entry is within allowed_hosts. Otherwise sessions fail with a 400 or web_fetch returns url_not_allowed.
General consumer
Using the Claude apps, not the API No impactNothing to do — this affects agents built on Claude Managed Agents, not the Claude apps.
Claude Managed Agents cloud environments with limited networking now apply their allowed_hosts list to the web_search and web_fetch tools, not only to the sandbox. A web_fetch call for a host that allowed_hosts does not match returns a url_not_allowed error result to the agent, and web_search omits results from such hosts. If allowed_hosts is empty, neither tool returns any page or search result. allow_package_managers and allow_mcp_servers add no hosts for these tools.
Session creation also validates the configuration: with limited networking, creating a session returns a 400 error when an enabled web tool’s allowed_domains contains an entry not within allowed_hosts, and so does a session update that adds such an entry. An allowed_hosts entry matches one exact host unless it starts with *., so docs.example.com is not within ["example.com"].
Agents that relied on web tools reaching hosts outside allowed_hosts will now get errors or empty results. The fix is to add the host to allowed_hosts, which also opens it to the sandbox, or to remove the entry from allowed_domains. Environments with unrestricted networking and self-hosted environments are unaffected.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
allowed_hosts | changed | yes | |
web_fetch | changed | yes | |
web_search | changed | yes |
Topics: Agents and tool use