SiYuan Block Tool icon

SiYuan Block Tool

Use this tool to create, read, update, move, and delete content blocks within SiYuan documents. Use "append" to add content to a document, "getContentMd" to read a block, or "update" to modify existing content.

Delete

AI-generated

Summary

Deletes a SiYuan block by its ID using the SiYuan API. The node runs once for each input item and returns the API result, or { "success": true } if the API returns no data.

Inputs

  • Block ID (required) — Unique ID of the block to delete.

Output shape

One output item per input item, containing the API result as JSON.

Deletion is permanent. If the API returns null or no data, the output item is { "success": true }. With Continue On Fail enabled, an error produces { "error": "..." } for that item; otherwise the execution fails.

Links

Discussion