Link a person to a company
link_a_person_to_a_companyLink a person to a company by hand, as the signed-in person, as «Link to a company» on the person's page does: name the company by its id (from list_companies), or by a domain (as example.com: the company of that domain, made when there is none). A link made by hand stays when the person's address changes. A deal of the person with no company takes this one. The link is a line of the company's history and of the person's, and of the audit trail.
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": "link_a_person_to_a_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Instead of company_id: the company's domain, as example.com | |
| company_id | No | The company's id (from list_companies) | |
| contact_id | Yes | The person's contact id |