Web search
web_searchSearch the web: up to 10 results for a query, most relevant first, each with title, URL, publish date, author and the passage of the page that best matches the query. Optional filters: category (news, company, publication, people...), domains to include or exclude, and since (YYYY-MM-DD) for recent pages only. Pair with /web/contents to read the pages. Costs $0.006 USDC on Base via x402.
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 | Search query | |
| limit | No | Results to return, 1-10 (default 5) | |
| since | No | Only pages published on or after this date (YYYY-MM-DD) | |
| domains | No | Only these hostnames, comma-separated (example.com,docs.example.org) | |
| exclude | No | Never these hostnames, comma-separated | |
| category | No | Limit to one kind of page | |
| snippets | No | false leaves out the matching passages (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | number, e.g. 5 | |
| notes | No | string, e.g. "Live web search results, most relevant first. snippet is th | |
| query | No | string, e.g. "x402 payment protocol for AI agents" | |
| results | No | array | |
| searchedAt | No | string, e.g. "2026-11-10T07:39:24.896Z" | |
| providerCostUsd | No | number, e.g. 0.004 |