Update a WordPress page
update_pageModify an existing WordPress page by ID through the REST API. Send only the fields to change, such as title, content, status, or meta; omitted fields stay unchanged.
Instructions
Update an existing page via POST /wp-json/wp/v2/pages/. Only the fields provided are sent; omit a field to leave it unchanged.
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_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The numeric WordPress page ID to update. | |
| meta | No | Meta fields object to merge/update on the page. | |
| title | No | New page title. | |
| status | No | New publication status. | |
| content | No | New page body as an HTML string. |