add_filter_group
Add a filter group to a QuickSight analysis to limit or scope data shown in visuals. A backup is created automatically before modifying the analysis definition.
Instructions
Add a filter group to a QuickSight analysis.
WARNING: This modifies the analysis definition. A backup is automatically created before making changes.
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>",
"filter_group_definition": "<filter_group_definition>"
},
"name": "add_filter_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes | The QuickSight analysis ID. | |
| filter_group_definition | Yes | JSON string of the filter group. Must include FilterGroupId, Filters array, CrossDataset setting, and ScopeConfiguration. Example: {"FilterGroupId": "my-filter-group", "Filters": [{"CategoryFilter": {...}}], "CrossDataset": "SINGLE_DATASET", "ScopeConfiguration": { "SelectedSheets": { "SheetVisualScopingConfigurations": [ {"SheetId": "...", "Scope": "ALL_VISUALS"} ] } }, "Status": "ENABLED"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||