wp_update_draft_page
Update an existing draft page. For published pages, creates a new draft instead of modifying the original. Never publishes content.
Instructions
Update an existing DRAFT page. If page is published, creates a new draft instead. Never publishes.
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_draft_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| slug | No | ||
| title | No | ||
| parent | No | ||
| content | No | ||
| excerpt | No |