update_block
Update the content of a specific block in SiYuan Note by providing its ID and new data in markdown or DOM format.
Instructions
更新块内容
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": {
"data": "<data>",
"id": "<id>"
},
"name": "update_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 思源块、文档、笔记本或数据库 ID | |
| data | Yes | 新内容 | |
| dataType | No | 输入格式 | markdown |