run_generator
Generate SHACL, OWL, or documentation from a LinkML schema at a specific commit, returning output inline or as a temporary path for large results.
Instructions
Run a supported LinkML generator against a schema file at a specific commit. Does not validate automatically and does not commit generated artifacts. Returns inline content for small outputs or a temporary path for large/multi-file outputs.
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": {
"workspace_id": "<workspace_id>",
"commit_id": "<commit_id>",
"generator": "<generator>"
},
"name": "run_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative schema path. Defaults to schema.yaml. | schema.yaml |
| options | No | Generator-specific CLI options without leading dashes. | |
| commit_id | Yes | Git commit id to generate from. | |
| generator | Yes | ||
| workspace_id | Yes | Workspace id returned by init_workspace. |