web_search
Perform real-time web searches using DuckDuckGo to access current information and recent data. Get titles, URLs, and snippets to find answers beyond your knowledge cutoff.
Instructions
Search the web using DuckDuckGo - performs real-time web searches
Provides up-to-date information for current events and recent data
Returns search results with titles, URLs, and snippets
Use this tool for accessing information beyond your knowledge cutoff
Performs searches in a single API call
Usage notes:
Use web_search to find information; use web_fetch to retrieve specific URLs
If the question is about library/framework/package/API documentation, prefer Context7 tools first
Free to use, no API key required
Supports both English and Chinese queries
Best for general web searches and finding recent information
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 | 搜索查询内容 | |
| numResults | No | 返回结果数量 (默认: 8) |