modify_dataset_sql
Find and replace exact text in a QuickSight dataset SQL query, update the dataset, and create an automatic backup.
Instructions
Find and replace text in a dataset's SQL query.
Convenience tool that reads the current SQL, applies a string replacement, and updates the dataset. A backup is created automatically.
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": {
"dataset_id": "<dataset_id>",
"find": "<find>",
"replace": "<replace>"
},
"name": "modify_dataset_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | Exact text to search for in the current SQL. | |
| replace | Yes | Replacement text. | |
| dataset_id | Yes | The QuickSight dataset ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||