Say two contacts are related, or different people
record_client_relationshipAnswers 'same person?' for two contacts, as the contact pane's shared-line chip and the card's Related people do: action related (different people who legitimately share a line: spouses, family, a household, an assistant, coworkers) with relation, or action not_duplicate (two different people who happen to share a line; duplicate suggestions for the pair stop everywhere). otherClientId is the other contact (read entity clients). Nothing is sent. Pass the same idempotency_key when retrying; the verdict is an upsert, so a repeat changes nothing.
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": {
"client_id": "<client_id>",
"action": "<action>",
"otherClientId": "<otherClientId>",
"idempotency_key": "<idempotency_key>"
},
"name": "record_client_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| relation | No | ||
| client_id | Yes | ||
| otherClientId | Yes | ||
| dismissedReason | No | ||
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |