Update Post
update_postUpdate an existing post's content or properties, then re-sync the changes to WordPress. Use this to modify titles, slugs, bodies, tags, categories, SEO fields, or to publish after updating.
Instructions
Update an existing post's content or properties in Notion, then re-sync to WordPress. Only provided fields are updated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New content in markdown (replaces entire body) | |
| slug | No | New URL slug | |
| tags | No | New tag names | |
| title | No | New title | |
| postId | Yes | The post ID to update | |
| publish | No | Set true to also publish after updating | |
| category | No | New category name | |
| seoKeyword | No | New SEO focus keyword | |
| seoDescription | No | New meta description for SEO (max 160 chars) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Use get_job to poll status |