Get Relationship
get_relationshipDetermine how two people in a family tree are related by providing their IDs and tree, returning the exact relationship label such as 'first cousin once removed'.
Instructions
Name how relative_id is related to person_id (e.g. "first cousin once removed").
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": {
"tree": "<tree>",
"person_id": "<person_id>",
"relative_id": "<relative_id>"
},
"name": "get_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | Yes | Stable tree UUID (preferred) or exact name, as shown by list_trees. | |
| person_id | Yes | Person UUID, as returned by add_people or find_people. | |
| relative_id | Yes | Person UUID, as returned by add_people or find_people. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||