Check citizenship by descent eligibility
check_descent_eligibilityCheck whether a person qualifies for citizenship by descent.
Input is the person's direct ancestral line, one entry per generation,
starting with relation='self'. Every generation between the person and
the ancestor is required, because descent passes generation by generation
and a gap changes the answer.
Exact dates give the most precise result. Year-only input is accepted and
the result carries a caveat; for Ireland, a registration and a birth in the
same year cannot be resolved.
Args:
country: ISO 3166-1 alpha-2, lowercase. Currently 'ie' or 'ca'.
line: The direct line, from the user upward.
as_of: Evaluation date. Defaults to today. Rules with commencement
dates (Canada's Bill C-3) depend on it.
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": {
"country": "<country>",
"line": "<line>"
},
"name": "check_descent_eligibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | The person's direct ancestral line, one entry per generation, starting with relation 'self' and going up with no gaps. | |
| as_of | No | Evaluation date (YYYY-MM-DD). Defaults to today. Canada's Bill C-3 rules depend on it. | |
| country | Yes | ISO 3166-1 alpha-2 code, lowercase. Supported: 'ie' (Ireland) or 'ca' (Canada). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caveats | No | Approximations and unresolvable ambiguities in the input. | |
| missing | No | ||
| sources | No | Law and official guidance the rules were built from. | |
| verdict | Yes | One-line plain reading of the confidence band. | |
| blockers | No | ||
| rationale | Yes | ||
| confidence | Yes | green, yellow, or red | |
| disclaimer | Yes | ||
| learn_more | Yes | ||
| pathway_id | Yes | ||
| next_action | No | ||
| country_code | Yes | ||
| supporting_facts | No | ||
| rules_verified_as_of | Yes |