Get blog post
get_postReturns one published blog post by id or slug: content (HTML), excerpt, categories, tags, featured image and SEO title and description.
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 |
|---|---|---|---|
| id | No | Numeric ID. | |
| slug | No | URL slug. | |
| rendered | No | Also return the visible text of the public page. Use this when the content comes from the theme template rather than the editor. | none |