get_ancestors
Trace a person's ancestors up to N generations in a nested parents tree. Living or private ancestors are redacted unless include_private is true.
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.
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. |