get_post
Retrieve a single post by ID or slug, including its rendered HTML and a preview URL for viewing in the active theme.
Instructions
Read a single post by id or slug, including its rendered HTML.
Provide either post_id or slug. The result includes a preview_url
for viewing the post in the active theme.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| post_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||