read_schema
Read a LinkML YAML schema from a specified workspace and Git commit. Optionally provide a path to access schema.yaml or imported YAML files.
Instructions
Read a LinkML YAML schema file from a specific workspace commit. Use path to read schema.yaml or another local imported YAML file.
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>"
},
"name": "read_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative schema path. Defaults to schema.yaml. | schema.yaml |
| commit_id | Yes | Git commit id to read from. | |
| workspace_id | Yes | Workspace id returned by init_workspace. |