get_entity
Fetch a specific class, slot, enum, prefix, or import from a LinkML schema file at a given commit, using the workspace and entity name to locate it.
Instructions
Fetch one LinkML entity from a schema file at a specific commit. entity_type must be class, slot, enum, prefix, or import.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Entity name to fetch. | |
| path | No | Relative schema path. Defaults to schema.yaml. | schema.yaml |
| commit_id | Yes | Git commit id to inspect. | |
| entity_type | Yes | ||
| workspace_id | Yes | Workspace id returned by init_workspace. |