link_entities
Creates an association between two CRM entities. Choose the base entity and the target entity to link, for example, attaching a contact to a lead.
Instructions
Vincula duas entidades. Exemplo clássico: vincular um Contato (to_entity_type='contacts') a um Lead (from_entity_type='leads').
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": {
"from_entity_type": "<from_entity_type>",
"from_entity_id": "<from_entity_id>",
"to_entity_type": "<to_entity_type>",
"to_entity_id": "<to_entity_id>",
"client_slug": "<client_slug>"
},
"name": "link_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_slug | Yes | Identificador do cliente (slug) | |
| to_entity_id | Yes | ID da entidade que será anexada | |
| from_entity_id | Yes | ID da entidade base | |
| to_entity_type | Yes | Tipo da entidade que será anexada | |
| from_entity_type | Yes | Tipo da entidade base (quem vai receber o vínculo) |