api_update_post
Update a post by ID via PATCH to change specific fields while omitted fields stay unchanged.
Instructions
Update a post (partial update with PATCH). Overwrites the fields you pass.
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": {
"post_id": "<post_id>"
},
"name": "api_update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New body (1-5000 characters). Omit to keep current. | |
| title | No | New title (1-200 characters). Omit to keep current. | |
| post_id | Yes | ID of the post to update. Must be >= 1. | |
| user_id | No | New user ID. Omit to keep current. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |