link_external_record
Link a CallPilotAI record (contact, lead, account, campaign) to a record in a connected system — e.g. a TenderAIze tender or dossier. The link is visible from both sides and can be removed again without touching either record. CallPilotAI stays the leading system: this creates a reference, not a copy.
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": {
"entity": "<entity>",
"entity_id": "<entity_id>",
"system": "<system>",
"external_id": "<external_id>"
},
"name": "link_external_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Which kind of record: lead|contact|account|campaign|user|asbest_project|raumbuchung_booking | |
| system | Yes | The other system, e.g. 'tenderaize', 'odoo', 'pipedrive'. | |
| entity_id | Yes | ID of the record | |
| external_id | Yes | The id over there. | |
| external_url | No | Deep link into the leading system. This is what makes a reference useful: the CRM shows the pointer, the specialist system keeps the logic. No deadline is computed and no rule is run on a reference — that is the whole point of one. | |
| external_kind | No | What it is over there: pachtvertrag, flaeche, vorgang, vergabe, dossier … Free text, because every specialist system has its own words. | |
| external_label | No | What it is called over there — so a human recognises it without opening the other system. |