list_cubes
Search the DataSaudi catalog of 277 statistical cubes. Filter by query, scope (catalog/measures/levels), locale, and offset for results.
Instructions
Search the DataSaudi catalog of 277 statistical cubes.
Returns an ENVELOPE (not a bare list):
{query, scope, total_matches, returned, catalog_size (277), complete, results, note}.
results holds compact {name, caption, domain} hits. total_matches is the TRUE number
of matching cubes; when complete is true, results contains ALL of them - there is no
hidden cap. Never infer a result ceiling from len(results): read total_matches and
complete. When complete is false the result is a page - refine the query or pass
offset (the next start index, from the note) to page through the rest.
scope: 'catalog' (title/topic), 'measures' (measure names), or 'levels' (drillable level names - NOT member values; 'members' is an alias). locale='ar' also matches the Arabic catalog annotations (topic/subtopic/source); cube names/captions themselves are English only. An empty query returns a labeled preview (first 25 of 277). A space-separated query that finds nothing is retried once with spaces replaced by underscores.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_cubes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| scope | No | catalog | |
| locale | No | en | |
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||