set_contact_accounts
Replace the organisations of a person. Required: contact_id, links [{ account_id, function?, is_primary? }]. Exactly one link may be is_primary; if none is marked, the first becomes the main organisation. The main organisation is also written to the contact (account_id). links=[] removes all.
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>",
"links": "<links>"
},
"name": "set_contact_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes | Organisations of the person: [{ account_id, function?, is_primary? }]; [] removes all | |
| contact_id | Yes | ID of the contact |