list_datasets
List all datasets available in Cloudera Data Visualization to retrieve their IDs and table names, enabling subsequent visual creation.
Instructions
STEP 2 of the workflow — list all datasets (named tables/views) available in CDV.
In CDV: Connection → Dataset → Visual → Dashboard A dataset is a named pointer to a specific table or SQL query within a connection. Visuals and dashboards are built on datasets (using their numeric dataset_id).
AFTER calling this tool, you will have dataset names and IDs, but NOT column names. ALWAYS follow up with: query_dataapi(dataconnection_id=<dc_id>, query="SELECT * FROM <schema.table> LIMIT 3") to discover the exact column names before creating any visual.
Workflow reminder:
list_connections() → find dc_id (connection ID for SQL queries)
list_datasets() → find dataset_id and table name (THIS TOOL)
query_dataapi(...) → discover column names and sample data ← DO THIS NEXT
list_workspaces() → find workspace_id for visual creation
create_smart_visual(...)
create_dashboard(...)
Only call create_dataset() if no suitable dataset exists AND the user explicitly confirms they want a new one. Always confirm with the user before creating anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |