SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

Block → Unfold

AI-generated

Summary

Unfolds a SiYuan block to reveal its children by calling the block unfold API. Supply the block’s unique ID; the operation returns the API response, or a success item if the response has no data.

Inputs

  • Block ID (required) — The unique ID of the block to unfold.

Output shape

The SiYuan API response for unfolding the block; if it contains no data, the node emits a success item.

The node sends the block ID to SiYuan’s /api/block/unfoldBlock endpoint. With Continue On Fail enabled, errors are returned as an item containing error details.

Links

Discussion