web_search
Search the web for current information. Uses Tavily first, with Brave as automatic fallback.
Instructions
Search the web. Tavily is used first; Brave is used only when Tavily is unavailable, out of quota, rate-limited, or returns no results.
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": "web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The web-search query. | |
| country | No | ISO 3166-1 alpha-2 country code, such as CN or US. | |
| freshness | No | Only return recently published or updated results. | |
| max_results | No | Maximum number of results. Defaults to 5. | |
| exclude_domains | No | Exclude these domains. | |
| include_domains | No | Only search these domains. |