Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Attribute → Set
AI-generatedSummary
Set built-in or custom attributes on a SiYuan block. Provide the block ID and one or more name/value pairs; custom attribute names must start with custom-.
Inputs
- Block ID (required) — Unique ID of the block to update.
- Attributes (required) — One or more name/value pairs. Built-in names include
title,name,alias,memo,bookmark, andicon; custom names must start withcustom-. Names that are blank are skipped, and unsupported names are filtered out.
Output shape
The SiYuan API response data for setting the block attributes; if the API returns no data, the node outputs { "success": true }.
Attributes are sent together in a single request to SiYuan. The operation overwrites the supplied attribute values; it does not return the updated attribute record.