qwen_search
Retrieves current information via web search and returns cited, comprehensive answers for time-sensitive questions, news, events, and product details.
Instructions
用通义千问模型开启联网搜索(enable_search),检索最新信息并返回带来源引用的综合回答;适合时效性问题、新闻、事件、产品信息等
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": "qwen_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 要检索的问题或关键词 | |
| max_tokens | No | 回答最大 token 数(默认 2000) |