Create Tag
create_tagCreates a workspace-level tag entry for future reuse, without attaching it to any document. Use add_tag_to_doc instead when you need to apply a tag to a document.
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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| tag | No | ||
| code | No | ||
| error | No | ||
| created | No | ||
| details | No | ||
| causeCode | No | ||
| retryable | No | ||
| workspaceId | No | ||
| recoveryGuidance | No |