Edit a blog post
update_articleUse this when someone asks to change a blog post's title, text, summary, slug, author or categories, or to publish or unpublish it. Returns the updated post; only the fields passed change, and each edit notifies the blog's webhooks. Not for adding a translation.
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_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the post to change | |
| slug | No | New URL slug, up to 300 characters; changes the post's URL | |
| title | No | New title, up to 300 characters | |
| author | No | New author name, up to 200 characters | |
| format | No | markdown or html, describing how content is written | |
| content | No | New body in the post's format, up to 100,000 characters; replaces the whole body | |
| published | No | true publishes the post, false turns it back into a draft | |
| categories | No | Complete new list of up to 50 categories; replaces the old list | |
| description | No | New summary, up to 1,000 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| article | Yes |