Find Common WikiTree Ancestors
genealogy_find_common_ancestorsCompare the visible ancestors of two WikiTree profiles within a generation limit. Returns shared ancestors and all ties for the shortest combined distance, including a starting profile when it is an ancestor of the other. Reports same_profile when both keys resolve to one profile. Use genealogy_get_relatives to inspect either profile’s pedigree and gaps.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "genealogy_find_common_ancestors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First WikiTree numeric ID, page name, or profile link from genealogy_search_profiles. | |
| b | Yes | Second WikiTree numeric ID, page name, or profile link from genealogy_search_profiles. | |
| generations | No | Maximum generations of ancestors per profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | First starting profile. | |
| b | No | Second starting profile. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | False when a starting profile cannot be shown. | |
| common | No | Shared visible ancestors, ordered by combined generation distance. | |
| source | No | The WikiTree shared tree. | |
| nearest | No | All ancestors tied for the shortest combined generation distance. | |
| guidance | No | How to find a visible starting profile or inspect gaps. | |
| searched_a | No | Visible ancestors searched from a. | |
| searched_b | No | Visible ancestors searched from b. | |
| generations | No | Maximum generations searched for each profile. | |
| open_ends_a | No | Unavailable parent slots encountered from a. | |
| open_ends_b | No | Unavailable parent slots encountered from b. | |
| same_profile | No | True when both keys resolve to the same visible profile. |