Web search
web_searchOne web.search answer, bought through Moonbeam and paid with x402 on Base. One call is 0.001714 USDC, paid with x402 on Base.
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": {
"query": "<query>"
},
"name": "web_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | what to search for, 3 to 400 characters | |
| source | No | news: news articles from the open web in 65 languages over the last 3 months, newest first; encyclopedia: English Wikipedia articles: title, short description and the matching excerpt | |
| num_results | No | results, 1 to 10 (5 when left out) |