wp_update_page
Update WordPress page fields by ID or slug: modify title, content, status, author, template, and more with optional dry-run preview.
Instructions
Update selected fields on a WordPress page by ID or slug.
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": {
"ref": "<ref>"
},
"name": "wp_update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| slug | No | ||
| title | No | ||
| author | No | ||
| parent | No | ||
| status | No | ||
| content | No | ||
| dry_run | No | Preview changes without writing | |
| excerpt | No | ||
| date_gmt | No | ||
| template | No | ||
| menu_order | No | ||
| featured_media | No | ||
| if_unmodified_since | No | Fail if modified_gmt changed since this timestamp |