Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Tag → Rename
AI-generatedSummary
Rename a tag throughout the SiYuan workspace by replacing its exact name on every matching block. Provide the current and new tag names; the operation reports how many blocks it updated.
Inputs
- Current Tag Name (required) — The exact current tag name to replace.
- New Tag Name (required) — The name to assign to matching tags.
Output shape
A single record containing oldTag, newTag, and blocksUpdated.
blocksUpdated counts blocks whose tag list contained the current name and was updated. If the new name already exists on a matching block, duplicate tags are collapsed.