superset_dataset_duplicate
Duplicate any Apache Superset dataset with all its columns and metrics using the source dataset ID and a new unique table name.
Instructions
Create a copy of an existing dataset (with columns and metrics).
Args: base_model_id: ID of the source dataset to copy. IMPORTANT: the field is called base_model_id, NOT base_id or dataset_id. table_name: Name for the new dataset (must be unique).
Returns: JSON string with the duplicated dataset details.
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": {
"base_model_id": "<base_model_id>",
"table_name": "<table_name>"
},
"name": "superset_dataset_duplicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| base_model_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |