Get Answers
get_answersGet answers for a specific StackExchange question by ID. Returns answer body, score, and whether it is accepted.
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": {
"question_id": 419163
},
"name": "get_answers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | StackExchange site slug (default: stackoverflow) | |
| _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. | |
| question_id | Yes | The numeric question ID from the question URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The StackExchange site slug used | |
| count | Yes | Number of answers returned | |
| answers | Yes | Array of answers to the question | |
| question_id | Yes | The question ID for which answers were retrieved | |
| quota_remaining | Yes | Remaining API quota for this user |