create_dataset
Create datasets from database tables or custom SQL queries for visualization and analysis in Apache Superset.
Instructions
Create a dataset from a table or SQL query.
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": {
"database_id": "<database_id>",
"table_name": "<table_name>"
},
"name": "create_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | ID of the database connection | |
| table_name | Yes | Table name (or virtual dataset name if sql provided) | |
| schema | No | Schema name | |
| sql | No | SQL query for virtual datasets (optional) | |
| is_managed_externally | No | Whether the dataset is managed externally |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||