Get relationships
civicrm_get_relationshipsList relationships (family, employer, membership, custom types) for a contact, automatically resolving the other party's display name and direction.
Instructions
List relationships (family, employer, membership, custom types) for a contact. Resolves the other party's display name and direction automatically.
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": "civicrm_get_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| contact_id | Yes | Contact whose relationships to fetch. | |
| active_only | No | Only return relationships where is_active=true. |