api_get_post
Fetch a single post by ID and optionally its comments, returning markdown or JSON for AI assistant workflows via MCP.
Instructions
Fetch a single post by ID with optional comments.
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": {
"post_id": "<post_id>"
},
"name": "api_get_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ID of the post to fetch. Must be >= 1. | |
| response_format | No | Output format: 'markdown' for formatted display, 'json' for raw objects. | markdown |
| include_comments | No | If true, also fetch comments on this post. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |