replace_post_block
Replace a single block at the given index (0-based). Avoids fetching the full post and re-sending all blocks via update_post.
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>",
"index": "<index>",
"block": "<block>"
},
"name": "replace_post_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | Yes | Replacement block | |
| index | Yes | 0-based index of the block to replace | |
| postId | Yes | The post ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |