Remove Tag
remove_tagRemove a tag by archiving or permanently deleting it. Handle conflicts by choosing archive, delete, or cancel. Optionally strip the tag from all linked items.
Instructions
Remove a tag by archiving (hides from active views, recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL options. Pass mode after the user decides. If the tag is owned by a project, the tool suggests removing the project instead. On delete, pass clean_items=true to also strip the tag from all tasks and customers that use it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Deprecated: use `resolution`. 'archive' / 'delete' / 'cancel'. | |
| tag_id | Yes | Tag registry UUID to remove. | |
| cascade | No | When deleting, also remove this tag from all tasks, customers, and financial records that use it. If false, the registry entry is deleted but items keep the tag text (orphaned). | |
| resolution | No | Resolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts. | |
| clean_items | No | Deprecated: use `cascade`. |