gov_enclosures
Retrieve dated enclosure chains for a place and its civil parents to build a dated place tree, with optional year filters and Gramps place type suggestions.
Instructions
Every dated enclosure of a place and of each civil place above it, for a place tree.
For each place: its names and types with dates, a suggested Gramps place
type, and enclosed_by, one entry per parent with its periods, current
first, each with a gramps_date ('from 1871-01-01 to 1937-03-31').
Parishes, courts and registry offices of the place come separately.
Narrow with from_year/to_year; at most 40 places.
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": {
"gov_id": "<gov_id>"
},
"name": "gov_enclosures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gov_id | Yes | A GOV id (e.g. 'QUEURGJO51NT', 'object_289891'), its GOV page address, or an external id GOV records as 'system:ref' (e.g. 'geonames:2851465', 'wikidata:Q40623'). | |
| to_year | No | Only enclosures that held in or before this year. | |
| from_year | No | Only enclosures that held in or after this year. |