Read project context
get_contextGet this project's context at a progressive depth, degrading gracefully when no ontology has been extracted. Consolidates ontology and schema into one tool. Project knowledge and the glossary are for Full. Depth levels: 'domain' (high-level context, ~500 tokens), 'entities' (each entity with its meaning and how many fields it has, ~4k tokens), 'fields' (every field of every entity, ~8k tokens). An entity is a table of rows or a document: a table carries a row count and its columns, a document carries its grain and its paths, including any region it declared open. At 'domain' depth, project knowledge (business rules, terminology, conventions) is included for Full when it is available. Every depth lists the project's datasources with how their schema is known, how many entities each exposes, and — for one whose schema is declared by a published artifact — whether its connector is bound, with a note naming what binds an unbound one. A project with no entities says which of those states it is in rather than answering an empty domain. Always returns useful information even without ontology extraction - the schema is always available.
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_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | Yes | Depth level: 'domain' (high-level), 'entities' (each entity and its meaning), or 'fields' (every field of every entity) | |
| include | No | Optional: additional data to include. Supported value: 'statistics' (distinct_count, row_count, null_rate, cardinality_ratio, is_joinable, joinability_reason). Live field values are read per field by probe_column or probe_columns, under their value governance. | |
| entities | No | Optional: filter to specific entities, by name (for 'entities' or 'fields' depth) | |
| datasource | No | Optional datasource ID to scope 'entities'/'fields' depth to a single datasource. Omit to span all datasources (as get_schema does when no datasource is named); the response reports the resolved scope and tags every table with its datasource_id. Must be a valid datasource UUID when provided. A datasource that has not finished setup is refused with datasource_not_ready. | |
| include_relationships | No | Include relationship graph (default: true) |