Web search for agents (paid, $0.005)
web_searchPAID over x402 inside this tool call ($0.005 USDC on Base, Polygon or Arc): web search with ranked results and LLM-ready excerpts. Pair with web_extract for full-page Markdown, then link_check to scan what you found. Call once without payment to get the x402 PaymentRequired, then call again with the signed payment in _meta["x402/payment"].
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, e.g. 'pulsechain validator price'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _paid | No | x402 receipt | |
| query | No | The search query | |
| results | No | Ranked results: title, url, publish date, excerpts |