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.

Append

AI-generated

Summary

Append the supplied Markdown content as a block at the end of the specified SiYuan parent block or document. The operation calls SiYuan’s append block API for each incoming item and returns the API result as JSON.

Inputs

  • Parent Block ID (required) — ID of the parent document or container to append content to.
  • Content (Markdown) (required) — Markdown content to append as a block.

Output shape

A list of output items, each containing the SiYuan API result for its input item.

If the API returns no result, the item contains {"success":true}. With Continue On Fail enabled, failed items contain an error message instead.

Links

Discussion