Update Post
update_postUpdate an existing post's content or properties in Notion, then re-sync to WordPress. Only provided fields are updated.
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": {
"postId": "<postId>"
},
"name": "update_post"
}
}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 |