create_dataset
Define a new QuickSight dataset from a SQL query against a chosen data source, using SPICE caching or direct query mode for live data.
Instructions
Create a new QuickSight dataset from a 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": {
"name": "<name>",
"sql": "<sql>",
"data_source_arn": "<data_source_arn>"
},
"name": "create_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL query for the dataset. Must be valid SQL for the target data source (e.g., Snowflake, Redshift). | |
| name | Yes | Human-readable dataset name. | |
| import_mode | No | 'SPICE' (cached, default) or 'DIRECT_QUERY' (live). | SPICE |
| data_source_arn | Yes | ARN of the QuickSight data source to query. Find this in the QuickSight console or via AWS CLI. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||