When an identity attribute changed
get_entity_historyUse it for every period of an attribute; for the identity on one date, get_entity with as_of is simpler. The periods of the name, legal form and status of one entity (country + the national id, the part after "LT:" of a public id): each value with the day it was first observed (valid_from) and the day it was replaced (valid_to, exclusive; null = current). History starts at the first register load that recorded the attribute; before it the attribute is unknown (meta.withheld: unknown_for_date). Oldest first, at most 100 periods per page. An id outside coverage answers not_in_coverage, which does not mean the entity does not exist. Costs one identity disclosure.
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>",
"id": "<id>"
},
"name": "get_entity_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | National id as issued by the register (the part after "CC:" of a public id). | |
| to | No | YYYY-MM-DD: only periods that started on or before this date. | |
| from | No | YYYY-MM-DD: only periods still valid on or after this date. | |
| cursor | No | meta.next_cursor of the previous page, with the same parameters. | |
| country | Yes | ISO 3166-1 alpha-2 country code, any case (e.g. "LT"). | |
| attributes | No | Attributes whose periods to return. Default: all three. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||