delete_block
Delete a specified block from SiYuan knowledge base to clean up erroneous or unwanted content. Confirm the block ID before calling, as the action is permanent.
Instructions
删除指定块。
适用场景: - 清理错误插入或不再需要的块。
注意事项: - 删除操作具破坏性,调用前建议先用查询工具确认 block_id。 - 返回值包含操作记录,可用于审计本次删除结果。
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>"
},
"name": "delete_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |