check_mapping
Validate a mapping YAML file against the mapping schema and confirm it matches the bound model's current schema.
Instructions
Validate a mapping file against the mapping schema, and, given a model, check it is bound to that model's current schema.
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": {
"mapping": "<mapping>"
},
"name": "check_mapping"
}
}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. | |
| mapping | Yes | Path to a mapping file (YAML) for this model and target, if the model alone does not settle the mapping. | |
| 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. |