update_post
Modify an existing WordPress post by ID, including title, content, status, excerpt, categories, tags, and featured image.
Instructions
Update an existing WordPress 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": {
"id": "<id>"
},
"name": "update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID | |
| tags | No | Array of tag IDs | |
| title | No | Post title | |
| status | No | Post status | |
| content | No | Post content/body HTML | |
| excerpt | No | Post excerpt | |
| categories | No | Array of category IDs | |
| featured_media | No | Featured image attachment ID |