Search Questions
search_questionsSearch for questions on StackOverflow or any StackExchange site. Returns title, body, score, answer count, tags, and link.
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": {
"query": "python async await"
},
"name": "search_questions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | StackExchange site slug (default: stackoverflow). Examples: serverfault, superuser, askubuntu, math, physics | |
| limit | No | Number of results to return (1-20, default 5) | |
| query | Yes | Search query string | |
| _apiKey | No | Optional — a StackExchange API key (free, 10k/day) for a dedicated quota. The gateway supplies a platform key; pass your own only to override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The StackExchange site slug used for the search | |
| count | Yes | Number of questions returned | |
| has_more | Yes | Whether there are more results available | |
| questions | Yes | Array of search result questions | |
| quota_remaining | Yes | Remaining API quota for this user |