link_entities
Link a contact, company, or other entity to a lead in Kommo CRM by specifying source and target entity types and IDs.
Instructions
Link two entities together (e.g. link a contact to a lead, or a company to a lead).
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": {
"source_entity": "<source_entity>",
"source_id": "<source_id>",
"to_entity_type": "<to_entity_type>",
"to_entity_id": "<to_entity_id>"
},
"name": "link_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_entity | Yes | The source entity type (usually 'leads') | |
| source_id | Yes | The ID of the source entity | |
| to_entity_type | Yes | The entity type to link to (e.g. 'contacts' or 'companies') | |
| to_entity_id | Yes | The ID of the entity to link to |