wp_update_post
Update an existing WordPress post by changing its title, content, status, categories, or tags.
Instructions
Update an existing WordPress post. Change title, content, status, categories, or tags.
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 | Post ID to update | |
| tags | No | New tag IDs (optional) | |
| title | No | New title (optional) | |
| status | No | New status (optional) | |
| content | No | New content HTML (optional) | |
| categories | No | New category IDs (optional) |