update_post
Update a Ghost CMS post by ID, sending the current updated_at and changed fields; optionally save a revision, send HTML body, or email the post to a newsletter segment.
Instructions
Update a post by id. data must include the current updated_at. [PUT /admin/posts/{id}/]
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": {
"id": "<id>",
"data": "<data>"
},
"name": "update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Value for {id} in the path. | |
| data | Yes | Fields of the posts object, as in the Ghost Admin API docs. | |
| source | No | Set to html to send the post body as HTML instead of Lexical. | |
| newsletter | No | Newsletter slug. When publishing a post, emails it to that newsletter. | |
| email_segment | No | NQL member filter limiting email recipients: all, status:free or status:-free. | |
| save_revision | No | Set to true to save a revision of the post with this update. |