web_search
Search the web for current information, news, or docs beyond your knowledge cutoff; returns titles, URLs, dates, and snippets, and supports multiple queries to research a topic from different angles.
Instructions
Search the web for current/recent information, news, documentation, or anything beyond your knowledge cutoff. Returns titles, URLs, dates and snippets. Pass several 'queries' to research a topic from different angles in one call (results merged and deduplicated). Uses Exa and/or Tavily depending on 'provider'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Limit results to these domains (e.g. 'docs.python.org', or comma-separated 'a.com,b.org') | |
| fresh | No | Bypass the result cache and force a new request | |
| query | No | Search query — be specific for best results | |
| endDate | No | Only results published on/before this date (YYYY-MM-DD) | |
| queries | No | Several queries at once (max 5), run in parallel and merged — use instead of, or in addition to, 'query' | |
| recency | No | Only results published within this period (ignored when startDate is set) | |
| category | No | Exa content category: 'news', 'publication' (papers/articles), 'company', 'personal site' (blogs), 'financial report', 'people'. Note: with 'company'/'people', site and date filters are ignored by Exa. | |
| provider | No | 'auto' (default: Exa first, Tavily on error), 'exa', 'tavily', or 'both' (Exa + Tavily in parallel, merged with rank fusion and deduplicated — broader coverage for research, uses credits on both). Defaults to the configured provider. | |
| livecrawl | No | Exa freshness: 'always' (fetch live), 'fallback' (default), 'never' (cache only) | |
| startDate | No | Only results published on/after this date (YYYY-MM-DD) | |
| numResults | No | Results per query (1–10, default 5) | |
| excludeSite | No | Domains to leave out of the results, e.g. ['pinterest.com', 'quora.com'] | |
| maxPerDomain | No | Max results from one domain (default 3; 0 = unlimited; not applied when 'site' is set) | |
| includeAnswer | No | Also return a short AI-generated answer (Tavily answer and/or Exa /answer — needs a key for that provider). In 'both' mode answers from both are shown for cross-checking. | |
| maxCharsPerResult | No | Max characters of text per result (default 1200, 100–10000). Lower it for compact overviews, raise it when snippets need more detail |