web_search
Search the web and retrieve relevant results. Use country, language, and date filters to refine your query and get targeted information.
Instructions
Search the web and return results
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 |
|---|---|---|---|
| count | No | Number of results to return | |
| query | Yes | Search query | |
| country | No | Country code filter (e.g. US) | |
| language | No | Language code filter (e.g. en) | |
| freshness | No | Freshness filter (e.g. day, week, month) | |
| date_after | No | Only results after this date (YYYY-MM-DD) | |
| sessionKey | No | OpenClaw session key for routing | |
| date_before | No | Only results before this date (YYYY-MM-DD) |