get_question
Retrieves a Stack Overflow question by its ID, with optional comments and choice of JSON or Markdown format.
Instructions
Get a specific Stack Overflow question by ID.
Args:
question_id (int): The Stack Overflow question ID
include_comments (Optional[bool]): Whether to include comments in results
response_format (Optional[str]): Format of response ("json" or "markdown")
ctx (Context): The context is passed automatically by the MCP
Returns:
str: Formatted question details
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 |
|---|---|---|---|
| question_id | Yes | ||
| include_comments | No | ||
| response_format | No | markdown |