wp_update_post
Modify an existing WordPress post by ID, changing its title, content, excerpt, or status. Use it to correct or republish content directly through the REST API.
Instructions
Update a WordPress post by ID
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 | |
| title | No | Post title | |
| status | No | Post status | |
| content | No | Post content | |
| excerpt | No | Post excerpt |