Web search
searchQuery web, news, or academic sources across quota-aware providers and get ranked title/URL/snippet results, with filters for recency and domains.
Instructions
Web search across quota-aware providers. API providers return ranked title/url/snippet results. Niche knobs: topic, recency, domains. Provider-specific extras (scholar/patents/places, structured extract…) → call usage(provider=…) for exact params & example calls.
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Provider-specific mode. grok: "auto"/"fast"/"expert"/"heavy" (search defaults to fast, deep_research to heavy then expert); keenable "realtime"/"pro"; nimble "standard". | |
| query | No | The search query (or a follow-up message when `session` is set). Optional only when polling a running deep-research `session` for its report. | |
| topic | No | Research niche: "web" (default), "news", or "academic" — steers to a fitting backend. | |
| domains | No | Restrict to these domains; prefix one with "-" to exclude it (e.g. ["nature.com","-reddit.com"]). | |
| recency | No | Recency filter: "day"/"week"/"month"/"year" or an ISO date (e.g. "2024-01-01"). | |
| provider | No | Force a specific provider instead of the priority order. | |
| max_results | No | Maximum number of results (default 5, capped at 20). |