list_codes
Lists the enumerated values of a model component, including each value's IRI, definition, and code system, so you can inspect the codes annotated in a published schema.
Instructions
The enumerated values of one component in a model: each value with the IRI, definition and code system the published schema annotates it with.
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": {
"component": "<component>"
},
"name": "list_codes"
}
}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. | |
| component | Yes | The component's identifier (ct_id), as list_leaves reports it. | |
| 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. |