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").
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 | |||