TLDR AI · ENGINEERING & RESEARCH
CLAUDE API: WEB FETCH TOOL
Summary from the TLDR AI newsletter
The new web fetch tool in the Claude API fetches content from URLs as part of its response to prompts. It can extract full text content from URLs and PDFs. For security, the tool can only fetch URLs that have previously appeared in the conversation context, so it cannot fetch arbitrary URLs that Claude generates or URLs from container-based server tools. Anthropic recommends only using the tool in trusted environments or when handling non-sensitive data, as enabling it poses data exfiltration risks.