Add a tag to a lead
add_tagTag a lead by tag name. Identify the lead by lead_id or phone_number. If a tag with that name does not exist in your account it is created. Adding a tag a lead already has is a no-op. Tagging keeps connected CRMs in sync.
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": "add_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | The tag name to add. Created in your account if it does not already exist. | |
| lead_id | No | The id of the lead to tag. Provide this or phone_number. | |
| phone_number | No | The lead's phone number to look up, ideally in E.164 format. Provide this or lead_id. |