Wordpress Update Post
wordpress_update_postUpdate an existing WordPress post by ID—change title, content, status, categories, tags, or featured media to revise content in place.
Instructions
Update an existing WordPress post. To change part of the content, use edit_post.
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": "wordpress_update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | New publication date | |
| slug | No | New slug | |
| tags | No | New tag IDs | |
| title | No | New title | |
| status | No | New status | |
| content | No | New content | |
| excerpt | No | New excerpt | |
| post_id | Yes | Post ID to update | |
| categories | No | New category IDs | |
| post_format | No | New post format | |
| featured_media | No | New featured image ID | |
| expected_version | No | Refuse the write unless the post is still at this version (get_post) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||