read_record
Read a governed XML data record against its model to list each attribute and value in document order, with its component, path, element, context, and any exceptional value. Paged, no validation.
Instructions
Read a Governed Data Record (an XML file on disk) against its model: the record's attributes and each value in document order with its component, path of clusters, elements, context and any Exceptional Value (ISO 21090 code, name, and whether it was written at the source or inserted by recovery beside a rejected value). The model is the one the record names, fetched by its identifier unless ct_id or directory is given. Paged. Does not validate the record.
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": {
"record": "<record>"
},
"name": "read_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ct_id | No | The model's identifier (CUID2) in the public catalog; the package is fetched from the host this server was started with. | |
| limit | No | ||
| offset | No | ||
| record | Yes | Path to the record's XML file on disk. | |
| directory | No | A package directory already on disk (dm-<ct>.jsonld and dm-<ct>.xsd, optionally catalog.json and versions.json). Give this or ct_id, not both. |