The Tools
- Web search:
web_search: trueortools: [{"type": "web_search"}]. - Web fetch:
web_fetch: trueortools: [{"type": "web_fetch"}]. - File parser: extracts text from attached documents before the model runs.
tools entry) is rejected.
Response
- A
web_searchobject with source metadata (title,url,domain,date,snippet), the effectiveretrieval_mode, and the retrieval request count. usage.server_tool_use:web_search_requests,web_search_results,web_fetch_requests. Omitted when no tool ran.
Model Support
Per model:supports_web_search and supports_web_fetch on the catalog entry, GET /v1/models?supports=web_search. Enabling a tool on a model without it is rejected. Encrypted routes report both false because the final encrypted request cannot carry them.
Related
Web Search
Search before the model answers.
Web Fetch
Read a URL in the prompt.
File Parser
Attached documents.
Tool Calling
Your own functions.

