web_search
Search the live web via DuckDuckGo to retrieve real-time results, titles, URLs, and text snippets for current facts, external references, or breaking information.
Instructions
Search the live web using DuckDuckGo to retrieve real-time search results, titles, URLs, and text snippets. Use when you need current facts, external references, or breaking information not in your training data. Read-only and idempotent.
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 | The search query string, keywords, or question (e.g. 'latest Python PEP releases'). | |
| max_results | No | Number of search results to return (integer between 1 and 20, default 5). |