update_post
Update an existing blog post by its slug, changing only the fields you provide such as title, body, excerpt, or publish status.
Instructions
Update an existing post by slug. Requires LONTAR_API_TOKEN. Only provided fields are changed.
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": {
"slug": "<slug>"
},
"name": "update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Current post slug | |
| title | No | New title (regenerates slug) | |
| body | No | New body (Markdown) | |
| excerpt | No | New excerpt | |
| published_at | No | New publish date, or null to unpublish |