Web search
web_searchSearch the web with parallel queries, filter by freshness, and use operators like 'site:' or 'filetype:' to get targeted snippets and links for time-sensitive or specific content.
Instructions
Searches the web for one or more queries and returns snippets with links. Queries run in parallel. IMPORTANT: Always write search queries in English for best results and relevance. For images use the 'web_search_images' tool; both tools can be called in the same turn when a query needs text and images.
Freshness: set the 'date' field to restrict results by recency — 'd' (past day), 'w' (past week), 'm' (past month), 'y' (past year). Use it to prefer the most recent pages when the user asks about news or anything time-sensitive; leave it empty for all time.
Query operators (put them inside the query string itself): 'site:example.com term' limits the search to one site; 'filetype:pdf term' restricts to a file type; double quotes "exact phrase" force an exact match; a leading '-' excludes a word (term -foo); 'intitle:term' requires the word in the page title. Operators can be combined, e.g. 'site:arxiv.org filetype:pdf transformers'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | filter results by freshness: 'd' past day, 'w' past week, 'm' past month, 'y' past year; empty means all time | |
| queries | Yes | search queries in English, executed in parallel | |
| timeout_ms | No | timeout for the whole call in milliseconds | |
| max_results | No | maximum number of snippets per query |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| metadata | Yes |