delete_tag
Permanently removes a tag definition from a CallRail account and strips it from all associated calls and form submissions; this hard delete cannot be undone.
Instructions
Delete a tag definition from the account. Removes it from any calls or form submissions that had it applied.
This is a HARD delete; the tag is gone permanently along with its
historical applications. To preserve history, prefer renaming or
disabling via update_tag instead.
Args: tag_id: Numeric tag ID. CallRail tag IDs are integers (NOT the string-prefixed format other entities use). Must match ^[0-9]+$ (string or numeric forms accepted). account_id: CallRail account ID. Auto-resolves if omitted.
Returns:
JSON string {"deleted": True, "tag_id": ...} on success.
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_id": "<tag_id>"
},
"name": "delete_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_id | Yes | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |