Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Tag → Add
AI-generatedOverview
This node operation adds a tag to a specific block within the SiYuan note-taking system. It is useful for organizing and categorizing blocks by tagging them, which can help in filtering and searching content later. For example, you can add a tag like 'important' or 'todo' to a block to mark its significance or status.
Use Case Examples
- Add a 'todo' tag to a block with a specific block ID to mark it as a task.
- Add a 'review' tag to a block to indicate it needs to be reviewed later.
Properties
| Name | Meaning |
|---|---|
| Block ID | The unique identifier of the block to which the tag will be added. |
| Tag | The name of the tag to add to the block, without the '#' symbol. |
Output
JSON
success- Indicates whether the tag was successfully added to the block.
Dependencies
- Requires an API URL and API token for authenticating with the SiYuan API.
Troubleshooting
- Ensure that the Block ID provided is correct and exists in the SiYuan workspace; otherwise, the operation will fail.
- Verify that the API URL and token credentials are correctly set and valid to avoid authentication errors.
- If the tag name is empty or invalid, the operation may not succeed; ensure the tag name is properly specified without the '#' symbol.