web_search
Access live web search results — ranked by relevance — with titles, URLs, and snippets. Combine with fetch_page to read full pages.
Instructions
Search the web and return ranked results (title, URL, snippet).
Use this for live, up-to-date information. Returns up to max_results
hits as a numbered markdown list. Follow up with fetch_page to read any
result in full. Works without any API key (DuckDuckGo).
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 | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |