Update a block
update_blockReplace the data of one block. Send the complete data object for the block type.
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": {
"document": "<document>",
"blockId": "<blockId>",
"data": "<data>"
},
"name": "update_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The complete new block data. | |
| blockId | Yes | The id of a block in the document. | |
| document | Yes | The Publisle document: an object with schemaVersion and blocks, as returned by the other tools. |