Read WikiTree Relatives
genealogy_get_relativesTrace parents or children by generation, or read immediate parents, siblings, spouses, and children with recorded marriages. Continue with next_offset when present. Use genealogy_find_common_ancestors to compare two pedigrees.
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": {
"id": "<id>",
"direction": "<direction>"
},
"name": "genealogy_get_relatives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | WikiTree numeric ID, page name, or profile link from genealogy_search_profiles. | |
| limit | No | Maximum visible relatives per page, capped at 1,000. | |
| offset | No | Visible row offset. Use next_offset from the previous result. | |
| direction | Yes | Follow parents, children, or immediate family roles. | |
| generations | No | Pedigree depth, default 3 and maximum 25 for ancestors or 10 for descendants. Omit for family. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Visible profile that anchors the walk. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | False when the starting profile cannot be shown. | |
| limit | No | Maximum visible relatives requested. | |
| offset | No | Visible row offset on this page. | |
| people | No | Visible relatives on this page. Pedigree rows are ordered by the upstream page where their visible path is first established. | |
| source | No | The WikiTree shared tree. | |
| notices | No | Pagination adjustments. | |
| guidance | No | How to find a visible starting profile. | |
| has_more | No | Whether another visible page is available. | |
| direction | No | Direction traversed. | |
| marriages | No | Marriage information for visible spouses on this page. | |
| open_ends | No | Unavailable parent slots for the root and relevant people on this page. | |
| generations | No | Depth requested for the pedigree walk. | |
| next_offset | No | Offset for the next page. | |
| total_returned | No | Number of visible relatives on this page. |