Search the web
web_search_allSearch the web: titles, URLs, snippets and news, optionally with page content.
Web and news results for a query from our own search fetchers (DuckDuckGo’s index), with title, URL and snippet (news: publisher and time). sources: web, news or both; limit up to 30 each; country picks the region; time_range day, week, month or year; include_domains / exclude_domains (comma-separated); sort_by_date orders news newest first; include_content reads the top 5 results into Markdown.
Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| country | No | ||
| sources | No | Comma-separated: web, news (default web). | |
| location | No | Accepted for compatibility; use country. | |
| categories | No | Accepted for compatibility. | |
| time_range | No | ||
| sort_by_date | No | ||
| exclude_domains | No | ||
| include_content | No | ||
| include_domains | No |