wordpress_update_post
[WRITE — changes your live site] Edit an existing post or page's title, content, excerpt, slug or featured image. Does not change its status (use wordpress_publish). If the post is already published the edit is live immediately. Requires confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post or page id | |
| slug | No | New URL slug | |
| type | No | post (default) or page | |
| title | No | New title | |
| format | No | How content is written. markdown (default; plain text is fine) is converted to WordPress blocks: paragraphs, # headings, - and 1. lists, > quotes, ``` code, --- separators and  images on their own line. Use blocks for raw Gutenberg block markup, or html for classic HTML (shown as a Classic block). | |
| confirm | No | Must be true. Confirm the change with the user first; this acts on their live site. | |
| content | No | New body — replaces the whole body (markdown by default) | |
| excerpt | No | New excerpt | |
| featured_media | No | Media id for the featured image (0 removes it) |