cubes
Installation
SKILL.md
Cubes
A cube is one stored definition in the org's semantic model: which warehouse
table it reads (sql_table), the dimensions you group and filter by,
the measures you aggregate, and the joins to other cubes. Tables,
segments, and every semantic-model query are built on top of these.
You reach them through the RevOS MCP server's generic tools on the cubes
resource:
| Call | What it does |
|---|---|
api_read { "resource": "cubes", "params": { "fields": "id,name,updatedAt" } } |
list the stored definitions |
api_read { "resource": "cubes", "id": "<cube id>" } |
one stored definition, under definition |
api_read { "resource": "cubes", "method": "meta", "params": { "filter": "name == \"crm_deals\"" } } |
the compiled cube as the org can query it |
api_write { "resource": "cubes", "data": { "name", "definition" } } |
create |
api_write { "resource": "cubes", "id": "<cube id>", "data": { "definition" } } |
update |
api_delete { "resource": "cubes", "id": "<cube id>" } |
delete |