Web search (optionally read the top pages)
web_searchSearch the web: Google-quality results re-ranked for authority, merged with papers (arXiv), GitHub and news when the query needs them; optional category. Use it to find pages; with read=N it also returns the full clean text of the top N pages; with research=true it reads up to 8 pages and extracts the passages that answer the query, with sources. For one known URL use web_read instead. Price: results only $0.006, read 1-5 pages $0.015, research $0.05. Returns titles, URLs, snippets (and page markdown with a prompt-injection verdict per page). Live results; 1-15 s. Paid with x402 (USDC on Base, Polygon or Solana) per call; failed or empty calls are never charged.
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 | The query, e.g. 'best espresso machine 2026'. | |
| read | No | Pages to read in full (0 = results only, default 0). | |
| time | No | Only results from this period. | |
| limit | No | Results to return in results-only mode (default 10). | |
| region | No | Country code for results, e.g. us, uk, de, es (default us). | |
| category | No | Optional: favor one kind of source (results-only mode). | |
| research | No | true = research mode: read up to 8 pages and return key passages ($0.05). | |
| max_chars | No | Max characters per page read (default 4000). |