Get Stack Overflow question
stack_overflow_question_getFetch a Stack Overflow question by ID to retrieve its text, tags, votes, closed or locked state, and optionally answers and comments for research or debugging.
Instructions
Get a Stack Overflow question with its text, tags, votes, closed or locked state and, if asked, its answers and comments. Requires questionId.
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_get"
}
}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. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| include | No | Extra parts to return with the question: `answers`, `comments` (the question's comments, and each answer's when `answers` is also asked for), or both, comma-separated. Default: neither. | |
| 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. |