SiYuan icon

SiYuan

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

Attribute → Get

AI-generated

Summary

Retrieve all attributes, including custom and built-in attributes, for a SiYuan block by its ID.

Inputs

  • Block ID (required) — The unique ID of the block whose attributes to retrieve.

Output shape

A single record containing the attributes returned by SiYuan for the block.

The node calls SiYuan’s getBlockAttrs API. With Continue On Fail enabled, errors are returned as an error record; otherwise they stop execution.

Links

Discussion