update_post
Update a post by ID, modifying only specified fields. Set status to publish or draft; empty HTML keeps body unchanged. Returns the updated post summary.
Instructions
Update an existing post by id; only the fields you pass are changed.
Pass status="published" to publish a draft, or status="draft" to
unpublish. An empty html is treated as "leave the body unchanged" (same
as create), so it never blanks a post. Returns the updated post summary.
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": "update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| tags | No | ||
| title | No | ||
| status | No | ||
| excerpt | No | ||
| post_id | Yes | ||
| meta_title | No | ||
| feature_image | No | ||
| meta_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||