update_calculated_field
Modify the expression of an existing QuickSight calculated field. Visuals using the field update immediately; a backup is created automatically before changes.
Instructions
Update the expression of an existing calculated field.
WARNING: This modifies the analysis definition. A backup is automatically created before making changes. Visuals using this field will reflect the new expression immediately.
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": {
"analysis_id": "<analysis_id>",
"name": "<name>",
"new_expression": "<new_expression>"
},
"name": "update_calculated_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact name of the calculated field to update. | |
| analysis_id | Yes | The QuickSight analysis ID. | |
| new_expression | Yes | The new QuickSight expression. Uses the same syntax as add_calculated_field. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||