create_dataset
Create a new dataset from an existing data connection by specifying a table or SQL query, enabling visual and dashboard building.
Instructions
Create a new CDV dataset backed by an existing data connection.
A dataset points to a specific table or SQL query within a connection (dc_id). Visuals and dashboards are built on top of datasets.
IMPORTANT: Do NOT call this without first calling list_connections() to identify the right connection (dc_id) and list_datasets() to confirm no suitable dataset already exists. Always get explicit user confirmation before creating a new dataset.
body fields: dc_id (int), name (str), type (str), detail (str, e.g. schema.table), description (str), info (object), lvname (str), settings (object).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |