Read the ontology
get_ontologyGet what this project's data means, at one of three depths. 'domain' is the project as a whole: its domain summary, conventions, and how many entities and fields are exposed. A person who is not an administrator gets an empty domain, and the counts cover only datasources their Roles at rich or full list. 'entities' is every exposed entity with its description, usage notes, and an overview of its fields. 'fields' is the full meaning of every field of up to 10 named entities: description, classification path, purpose, semantic type, role, synonyms, units, and what an identifier refers to. At 'entities' and 'fields' depth, a person who is not an administrator is answered only for datasources their Roles at rich or full list. At any depth, an explicit datasource outside that reach is refused with datasource_not_granted. At 'entities' and 'fields' depth, each datasource those entities belong to that has not finished setup is listed with its status under datasources_not_ready. Start at 'domain' and descend as needed. It reads metadata only: no row, sample, enumerated value, or count from the data is ever returned.
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": {
"depth": "<depth>"
},
"name": "get_ontology"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | Yes | Depth: 'domain', 'entities', or 'fields'. | |
| entities | No | Entities to describe, by qualified or bare name. Optional at 'entities' depth; required at 'fields' depth, at most 10. | |
| datasource | No | Optional datasource ID to scope 'entities' or 'fields' depth to one datasource; 'domain' depth answers over the caller's whole reach and is not scoped. At any depth, a datasource outside a narrowed caller's reach is refused with datasource_not_granted. At 'entities' or 'fields' depth, a datasource that has not finished setup is refused with datasource_not_ready. |