get_question
Retrieve a Stack Exchange question and its top answers as Markdown, with author, link, and license details for citing debugging help.
Instructions
Read one question in full, together with its best answers.
The question and answer bodies are returned as Markdown with code blocks preserved. Long posts are truncated and end with a link to the full text. Each item includes its author, link and license, so cite them when you use the content.
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": {
"question_id": "<question_id>"
},
"name": "get_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site slug the question belongs to, e.g. 'stackoverflow'. | stackoverflow |
| max_answers | No | How many answers to include (accepted answer first, then by votes). Use 0 for the question only. | |
| question_id | Yes | Question ID, from search_questions results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| link | Yes | ||
| tags | Yes | ||
| score | Yes | ||
| title | Yes | ||
| author | Yes | ||
| answers | Yes | ||
| created | Yes | ||
| license | Yes | ||
| view_count | Yes | ||
| question_id | Yes | ||
| answer_count | Yes | ||
| last_activity | Yes | ||
| answers_not_shown | Yes | ||
| has_accepted_answer | Yes |