SiYuan icon

SiYuan

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

Tag → Get Tags for Block

AI-generated

Summary

Retrieves all tags associated with a specific SiYuan block.

Inputs

  • blockId (required) — The unique ID of the block.

Output shape

an array of tag strings

Returns an empty array if the block has no tags.

Examples

Example 1: Inspect the tags on a specific document block

Resource: Tag, Operation: Get Tags for Block, Block ID: Input from previous node or manual ID

Links

Discussion