Delete a tag
tag_deleteDelete a tag. Any ASSIGN_TAG step referencing it stops working, so check your flows first. Leads carrying it lose that classification and it disappears from reply-sentiment reporting, which changes past numbers. Irreversible — show the user what carries it (tag_list reports the count) and get an explicit yes. Deleting a campaign's own identity tag makes that campaign's leads indistinguishable in lead_list. To rename or reclassify instead, use tag_update.
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": {
"tagId": "<tagId>"
},
"name": "tag_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes | Tag id, from `tag_list`. |