create_tag
Create a CallRail tag scoped to a single company or the whole account. Set a name, optional color, and tag level; account-level tags apply to every company.
Instructions
Create a new tag, scoped to one company or to the whole account.
Args:
name: Tag display name.
company_id: 'COM...' id. Required for company-level tags (the
default). Omit it when tag_level='account'.
account_id: Auto-resolves if omitted.
color: One of the 24 CallRail-supported colors (see
VALID_TAG_COLORS): gray1-2, blue1-2, cyan1-2, purple1-2,
pink1-4, red1-2, orange1-4, yellow1-2, green1-4.
If omitted, CallRail defaults to 'gray1'.
tag_level: 'company' (default) or 'account'. Account-level tags
apply to every company and can only be created by
administrators.
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": {
"name": "<name>"
},
"name": "create_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ||
| tag_level | No | ||
| account_id | No | ||
| company_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |