update_post
Modify an existing post, page, or product by ID, changing only the fields you pass. Use it to correct titles, content, status, categories, tags, or featured images without overwriting other data.
Instructions
Update an existing post/page/product by ID. Only the fields you pass are changed. Same field set as create_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 | ||
| meta | No | ||
| slug | No | ||
| tags | No | ||
| title | No | ||
| parent | No | ||
| status | No | ||
| content | No | ||
| excerpt | No | ||
| template | No | ||
| categories | No | ||
| taxonomies | No | ||
| featured_image | No |