Web search
web_searchUse when you need to find pages on the live web: search the live web: the most relevant pages for a query (title, URL, short snippet), best first, plus a short answer drawn only from those pages when the query is a question. Every URL is checked against the pages the search actually returned. Optional site filter. Free trials are limited each day. US$0.02 per call; 3 free calls a day.
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": {
"q": "<q>"
},
"name": "web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | What to search for. | |
| max | No | 1-10 results (default 6). | |
| site | No | Optional domain to search within. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| paid | No | ||
| query | No | ||
| trial | No | ||
| answer | No | ||
| message | No | ||
| results | No | ||
| pay_per_call | No |