get_ancestors
Trace a person's ancestors up to a chosen number of generations, returning a nested parents tree. Living or private ancestors are redacted unless include_private is enabled.
Instructions
Walk a person's ancestors up to N generations (a nested parents tree).
Living/private ancestors appear as redacted stubs unless include_private is set.
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": {
"person": "<person>"
},
"name": "get_ancestors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person | Yes | Root person handle or gramps_id. | |
| generations | No | How many generations up. | |
| include_private | No | Show living people and private records in full. Only when the user asks for them; they are withheld by default. |