list_leaves
Lists a model's leaves in document order, including cluster paths, SDC4 types, constraints, enumerated-value counts, and identity links, with paging for large models.
Instructions
The model's leaves in document order, each with its path of clusters, its SDC4 type, its constraints, how many enumerated values it has and its identity links. Paged: a model can have more than a thousand leaves.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_leaves"
}
}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 | ||
| 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. |