tag_move
Move a tag to a different parent or make it a root tag by specifying a new parent ID or null. Returns the updated tag ID and parent ID.
Instructions
Move a tag to a new parent, or promote it to a root tag by passing parentId=null. Do not use to rename a tag; prefer tag_update instead. Get tag IDs from tag_list. Returns the updated tag's ID and new parentId on success. Triggers a sync; call sync_trigger after to propagate to other devices. Example: tag_move({ id: "tag123", parentId: "tag456" }) Example: tag_move({ id: "tag123", parentId: null })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Persistent ID of the tag to move. Get from tag_list. | |
| parentId | Yes | New parent tag ID, or null to promote the tag to root level. |