update_block
Update a SiYuan note block with new content while retaining IAL metadata. Specify block ID and new Kramdown content; preserve ID and IAL attributes as needed.
Instructions
Update a SiYuan note block with new content while preserving IAL metadata
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": {
"block_id": "<block_id>",
"data": "<data>"
},
"name": "update_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | New Kramdown content data to update the block with | |
| block_id | Yes | ID of the SiYuan block to update | |
| preserve_id | No | Whether to preserve ID attributes (default: true) | |
| preserve_ial | No | Whether to preserve IAL attributes (default: true) |