Stack Overflow 搜索
stackoverflow_search搜索 Stack Overflow 技术问答,返回问题标题、摘要、答案数、得分与链接。用于排查代码报错、查技术方案。Example: {"query":"javascript array deduplicate","answers":1,"limit":5}
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 5,
"query": "javascript array deduplicate",
"answers": 1
},
"name": "stackoverflow_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数 1-10,默认 5 | |
| query | Yes | 搜索关键词 | |
| answers | No | 最少答案数过滤,默认 1 |