What changed in the registry for a company
company_historyWhether the registry record of one company changed between consecutive official ONRC snapshots, and when: one event per snapshot in which anything on the record moved (status, name, legal form, address, registration number). It reports that the record changed, not which field — for the field detail, compare two lookups. Empty for a company that has not changed since the ledger started.
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": {
"cui": "<cui>"
},
"name": "company_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | Yes | Romanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted. | |
| limit | No | How many recent events to return (1-100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | No | The CUI that was asked about. | |
| asOf | No | ledgerStarted and lastRecorded. | |
| note | No | Present when there is nothing recorded. | |
| count | No | How many events are in this answer. | |
| error | No | Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted. | |
| source | No | Where the events come from. | |
| changes | No | Events, newest first: day, field, old, new. | |
| message | No | A sentence for the caller. | |
| snapshots | No | The snapshots the ledger holds: day, firms, events. |