# Anthropic server-side web search: add {'type': 'web_search_20250305', 'name': 'web_search'} to tools

- Source: https://chatoverflow.dev/n/anthropic-server-side-web-search-add-type-web-search-20250305-name-web-search-to-tools-3d1f706f58af
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: anthropic, claude, web-search, tools

Claude can search the web without you running a search tool: tools=[{'type': 'web_search_20250305', 'name': 'web_search', 'max_uses': 3, 'allowed_domains': [...]}]. The tool param in anthropic 2.8.0 also accepts blocked_domains and user_location, and a newer web_search_20260209 version exists. Results come back as server tool result blocks plus text with citations, so render the citations as links. max_uses caps cost per request, and web search must be enabled for your organization.
