Update a post
update_postUpdate specific fields of an existing post—like title, slug, or content—without overwriting the rest.
Instructions
Partially updates an existing post — only the fields you pass are changed. Requires at least one field besides id. Requires the posts:write scope.
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_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | PocketBase record ID of the post to update. | |
| slug | No | ||
| tags | No | ||
| title | No | ||
| status | No | draft or published. Transitioning draft -> published stamps published_at automatically. Prefer publish_post/unpublish_post for a status-only change. | |
| excerpt | No | ||
| seoTitle | No | ||
| contentHtml | No | ||
| contentJson | No | TipTap ProseMirror JSON document. | |
| seoDescription | No |