dex_delete_tag
Remove a tag permanently from all contacts in Dex CRM using its ID to clean up outdated or incorrect labels.
Instructions
Permanently delete a tag. It is removed from all contacts it was assigned to.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes |
Implementation Reference
- src/tools/tags.ts:59-71 (handler)The implementation of the `dex_delete_tag` tool handler, which calls the Dex API to delete a tag.
server.tool( "dex_delete_tag", "Permanently delete a tag. It is removed from all contacts it was assigned to.", { tagId: z.string() }, async (args) => { try { const result = await dex.delete(`/v1/tags/${args.tagId}`); return toResult(result); } catch (error) { return toError(error); } } );