Web Search
websearchSearch the web via DuckDuckGo or Google to return numbered results with titles, URLs, and snippets for quick research and source gathering.
Instructions
Search the web with DuckDuckGo or Google and return numbered results with titles, URLs and snippets.
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": "websearch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query. | |
| engine | No | 'duckduckgo' (default), 'google', a search template name, or an inline JSON search template. Built-in engines fall back to DuckDuckGo when unavailable. | duckduckgo |
| region | No | Region-language code such as 'us-en' or 'de-de'. DuckDuckGo uses it as-is; Google maps it to country (gl) and language (hl). Default: engine default. | |
| block_media | No | Block images, media and fonts at the network layer. Default: true. | |
| max_results | No | Maximum results to return. Default: 10. | |
| safe_search | No | Enable (true) or disable (false) safe search. Default: engine default. |