createRelationship
Create a relationship contact (e.g., spouse, partner) for an existing person, with fields for name, email, phone, and address.
Instructions
Create a relationship contact (Spouse, Brother, Partner, etc.) for an existing person. The relationship is its own contact record linked to personId.
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>"
},
"name": "createRelationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Relationship type (e.g. Spouse, Brother, Partner) | |
| emails | No | Email addresses [{type, value}] | |
| phones | No | Phone numbers [{type, value}] | |
| lastName | No | Last name of the relationship contact | |
| personId | Yes | Person ID this relationship is associated with | |
| addresses | No | Mailing addresses | |
| firstName | No | First name of the relationship contact |