Create tag
create_tagCreate a tag — a coloured label for categorising transactions, entries and other records. Use when you need a new label to apply across records; to rename or recolour an existing tag use update_tag, and to remove one use delete_tag. Note this is an accounting tag applied to records, not the business's own segmentation label — for that use set_business_tag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Tag id. Present → update that tag; omit → create a new one. | |
| name | No | Display name of the tag. | |
| color | No | Hex colour for the tag (e.g. "#8a8d82"), used for display. | |
| group | No | Free-text group the tag belongs to. On update, passing null or "" clears an existing group; omitting the key leaves it unchanged. | |
| archived | No | Whether the tag is archived. Omit on create to default to unarchived. |