tag_create
Create a new tag in OmniFocus. Optionally nest it under an existing parent tag for hierarchical organization.
Instructions
Create a new tag in OmniFocus. Optionally nest it under an existing parent tag (get IDs from tag_list). Do not use to move an existing tag; prefer tag_move instead. Returns the new tag's persistent ID. Triggers a sync; call sync_trigger after to propagate to other devices. Example: tag_create({ name: "errands" }) Example: tag_create({ name: "home", parentId: "tag123" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tag name. Must be non-empty. | |
| status | No | Initial status. Defaults to 'active'. Cannot create a tag in 'dropped' state. Accepts: 'paused' → on-hold. | |
| parentId | No | Parent tag ID to nest under. Omit for a root tag. Get from tag_list. | |
| allowsNextAction | No | Whether the tag allows next-action selection. Defaults to true. |