Create Tag
create_tagCreate a workspace-level tag entry in AFFiNE for future reuse. Define reusable tags to organize and categorize documents.
Instructions
Create a workspace-level tag entry for future reuse. This does not attach the tag to a document; use add_tag_to_doc for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Tag name to create in the workspace tag registry. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |