Tag Contact
tag_contactApply or remove tags on a contact — pass tag names in add and/or remove (resolve them with list_contact_tags, or pass create_missing to create as you go). Works on contacts you own and on shared contacts you have read/write on. Both your own tags and a teammate's tag that list_contact_tags returned under shared_tags can be used, so prefer reusing an existing team tag over creating a near-duplicate. IMPORTANT: tags also scope contact sharing, so adding a tag can make this contact visible to other brokers and removing one can take it away — and on a contact someone else owns, that includes removing a tag THEY put on it, which revokes it from the people they share it with. The response returns sharing_impact when visibility moved; confirm with the user before tagging, and tell them what changed afterwards. Cannot delete anything.
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": {
"contact_id": "<contact_id>"
},
"name": "tag_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Tag names to apply. Your own tags, or a teammate's tag shown under shared_tags by list_contact_tags. Prefer matching an existing shared tag name over creating a near-duplicate. Pass create_missing to create one that exists nowhere. | |
| remove | No | Tag names to remove. Your own tags, or a teammate's. Removing another broker's tag from their contact can take it away from people they share it with — check sharing_impact in the result and tell the user what changed. | |
| contact_id | Yes | The contact to tag (from list_contacts). | |
| create_missing | No | Create any tag in `add` that you do not already have, instead of reporting it as unknown. |