wp_update_post
Update an existing WordPress post by ID, changing its title, content, or status. Requires WP credentials (username and app password) to perform the edit.
Instructions
Update an existing WordPress post. Requires WP_USERNAME/WP_APP_PASSWORD to be configured.
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 | ||
| title | No | ||
| status | No | ||
| content | No |