List Stack Overflow question answers
stack_overflow_question_answers_listLists answers to a Stack Overflow question by votes, activity, or creation time, including answer text and optional comments.
Instructions
List the answers to a Stack Overflow question by votes, activity or time, with their text and, if asked, their comments. Requires questionId. Returns a list (use cursor when paginated).
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": {
"questionId": "<questionId>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "stack_overflow_question_answers_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Stack Exchange site, by its API name (`askubuntu`, `serverfault`, `math`, `ru.stackoverflow`). Default: `stackoverflow`. The sites endpoint lists them all. | |
| sort | No | Order of the answers: `votes` (default), `activity` or `creation`. Only `creation` pages without a ceiling. | |
| limit | No | Up to this many rows per page, 1 to 100. Default: 30. A page can hold fewer than `limit` rows where rows share a creation second or a block of 100 rows ends. Follow `page.nextCursor` until `hasMore` is false. | |
| order | No | Direction of the sort: `desc` (default) or `asc`. | |
| cursor | No | Cursor from `page.nextCursor` of the previous response. It only works with the same filters. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| include | No | `comments` adds each answer's comments. Default: none. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| questionId | Yes | Required. Question id on the chosen site, e.g. `11227809`. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |