wp_update_post
Update an existing WordPress post with new content, title, status, categories, tags, and more while a snapshot is created before changes for rollback safety.
Instructions
Update an existing WordPress post (creates snapshot before update)
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>"
},
"name": "wp_update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | No | ||
| slug | No | ||
| tags | No | ||
| title | No | ||
| status | No | ||
| sticky | No | ||
| content | No | ||
| excerpt | No | ||
| categories | No | ||
| featured_media | No | ||
| scheduled_date | No | ISO or parseable date string to schedule publication |