Delete Tag
delete_tagRemove a tag from your workspace and all documents using it. Provide the tag id or exact name; ambiguous names are rejected with suggestions.
Instructions
Delete a workspace-level tag and remove it from every document that references it. Accepts a tag id or name; an ambiguous name is rejected with the candidate ids.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tag": "<tag>"
},
"name": "delete_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Tag id or name to delete. Ambiguous tag names are rejected with candidate ids. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |