Rename a tag
rename_tagRename a tag to a new name, preserving all links currently assigned to it. Fails if the new name already exists—use merge_tags to combine tags instead.
Instructions
Renames a tag; every link carrying it keeps it. Tag names are unique per account, so renaming a tag to a name that already exists fails — use merge_tags to fold two tags into one instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New tag name | |
| tag_id | Yes | Numeric id of the tag — the "id" field returned by list_tags |