get_post_by_slug
Retrieve a single Ghost CMS post by its slug to fetch exact content details, with optional fields, formats, and related data for publishing or editing workflows.
Instructions
Get one post by slug. [GET /admin/posts/slug/{slug}/]
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": {
"slug": "<slug>"
},
"name": "get_post_by_slug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Value for {slug} in the path. | |
| fields | No | Comma-separated list of fields to return, for example id,title,slug. | |
| formats | No | Comma-separated content formats to return: html, plaintext, lexical. | |
| include | No | Comma-separated relations to include, for example tags,authors. |