SiYuan icon

SiYuan

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

Tag → Rename

AI-generated

Overview

This node operation renames an existing tag in the SiYuan workspace. It is useful for managing and organizing tags by updating their names to more relevant or accurate ones. For example, if a tag used to categorize documents or blocks needs to be renamed for clarity or consistency, this operation facilitates that change.

Use Case Examples

  1. Renaming a tag from 'urgent' to 'high-priority' to better reflect task importance.
  2. Changing a tag name from 'draft' to 'in-progress' to indicate the current status of documents.

Properties

Name Meaning
Current Tag Name The current name of the tag to rename, used to identify which tag will be changed.
New Tag Name The new name for the tag, which will replace the current tag name.

Output

JSON

  • success - Indicates whether the tag rename operation was successful.

Dependencies

  • Requires SiYuan API URL and API token credentials for authentication.

Troubleshooting

  • Ensure that both the SiYuan API URL and API token are provided; missing credentials will cause an error.
  • If the specified current tag name does not exist, the operation may fail or return an error.
  • Check for permission issues in the SiYuan workspace that might prevent renaming tags.

Discussion