search
Query web, image, video, news, shopping, place, scholar, patent, and autocomplete results across multiple providers with automatic failover and credit-aware output.
Instructions
Unified search — one tool for all types (loads ~700 tokens instead of ~7k for 11 tools). Pick type=web|images|videos|news|shopping|places|scholar|patents|autocomplete and provider=auto|serper|tavily|brave|exa|firecrawl. Credit budget: basic 3 / standard 5 / deep 8 credits for deep_research; 1 credit per search; cache hits cost 0.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Result type. | web |
| query | Yes | Search query (max 400 chars / 50 words). | |
| country | No | ISO 3166-1 alpha-2 country code (e.g. "US", "GB"). Default: "US". | |
| ui_lang | No | UI language (e.g. "en-US"). Default: "en". | |
| provider | No | Search backend: auto (failover chain), serper, tavily, brave, exa, firecrawl. Default: auto. | auto |
| freshness | No | Time filter: pd=past day pw=week pm=month py=year any=none (historical). Pass pd/pw/pm/py whenever the user asks for latest/current/recent results ("today", "this week", "latest", current year); omit or "any" for timeless or historical questions. The response footer echoes the filter that was applied. | |
| max_chars | No | Truncate response to this many characters (0 = no limit). | |
| verbosity | No | Output density: auto (server picks per audience), compact (~800 tokens, dev fast path), standard (KG+Box+10), full (everything, always for places/shopping/images/scholar). Default: auto. | auto |
| safesearch | No | "off" | "moderate" | "strict". Default: "moderate". | moderate |
| num_results | No | Results (1–20, default 10). Note: >10 results uses 2 Serper credits. | |
| search_lang | No | Language code (e.g. "en", "de"). Default: "en". | |
| snippets_only | No | Return 1-line snippets only (token-saving for agents). Default: false. | |
| link_resolution | No | Google result links beyond the top 3 may come back as google.com/goto redirects. "auto" (default): top 3 resolved, any leftover goto links get a search_id for resolve_links. "all": also resolve every link now (free, but adds ~30 s when goto links are present). "none": fastest, links exactly as Google returns them. |