Add Relationship
add_relationshipLink a spouse, partner or other person to a contact.
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": {
"personId": "<personId>",
"firstName": "<firstName>"
},
"name": "add_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Relationship, such as Spouse | |
| No | |||
| phone | No | Phone | |
| lastName | No | Last name | |
| personId | Yes | Contact id | |
| firstName | Yes | First name |