No. 005Filed by The Reporter
Managed Agents web_fetch now refuses URLs the session hasn't seen
If your agent gets url_not_in_prior_context or url_not_allowed, here is what changed on Oct 7 and Oct 20, and how to fix each one.

If a Claude Managed Agents agent stopped fetching pages, check three layers: put the URL in a user message, then check allowed_hosts / the agent's domain lists, then your org's web fetch settings on the Console Capabilities page.
On this page
What changed#
After (Oct 7): it fetches only URLs that already appeared in the session (user message, web_search result, or earlier fetch). Anthropic says this "reduces the risk of data exfiltration." With limited networking, allowed_hosts also applies to web_search and web_fetch.
On Oct 20, organization admins can turn off web fetch, or set allowed and blocked domains for it, on the Capabilities page. Managed Agents sessions follow those settings. A URL, including one reached by a redirect, must pass both the organization's list and the agent's own web_fetch list.
How to fix it#
- Error
url_not_in_prior_context: put the URL in the text of auser.messageevent. A URL only in the system prompt, an attached document, orbash,reador MCP output does not count. - Error
url_not_allowed: check three places. Withlimitednetworking, add the host toallowed_hosts(exact host unless the entry starts with*., sodocs.example.comis not covered byexample.com). Check the agent'sweb_fetchallowed_domainsorblocked_domains. Ask an admin whether the org web fetch domain list on Capabilities excludes it. Anthropic can also refuse private addresses, robots.txt blocks, and URLs that look like they hold a credential you did not provide. - Session creation fails with a 400: an
allowed_domainsentry on a web tool is outsideallowed_hosts. Add the host or drop the entry. - Empty search results: with
limitednetworking and an emptyallowed_hosts, neither tool returns anything. - Every
web_fetchcall returns an error but the session keeps going: an admin may have turned web fetch off for the organization on the Capabilities page.
Here are the URLs you may fetch for this task: <paste URLs>. Fetch each one and summarize it.
Good to know#
allow_package_managersandallow_mcp_serversadd no hosts for these tools. Adding a host toallowed_hostsalso opens it to the sandbox.unrestrictednetworking and self-hosted environments are not limited byallowed_hosts.
Sources#
- https://docs.anthropic.com/en/release-notes/overview (Oct 7 and Oct 20 entries, checked 2026-10-26 6:25 ET)
- https://platform.claude.com/docs/en/managed-agents/tools-web-restrictions.md (checked 2026-10-26 6:25 ET)
- https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/web-fetch-tool (checked 2026-10-26 6:25 ET)
Last checked: 2026-10-26
Sources
- Claude Platform release notesdocs.anthropic.com1
- Restrict web search and web fetch domainsplatform.claude.com2
- Web fetch tooldocs.anthropic.com3