wp_update_post
Update an existing WordPress post by changing its title, content, status, excerpt, categories, tags, or featured image using the site and post ID.
Instructions
Update an existing 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": {
"site": "<site>",
"id": "<id>"
},
"name": "wp_update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID | |
| site | Yes | Site id (see list_sites) | |
| tags | No | Tag IDs | |
| title | No | Post title | |
| status | No | Post status | |
| content | No | Post content (HTML) | |
| excerpt | No | Post excerpt | |
| categories | No | Category IDs | |
| featured_media | No | Featured image ID |