web_search
Search 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) |