add_visual
Insert a new visual into a specific sheet of a QuickSight analysis. The analysis definition is modified with an automatic backup.
Instructions
Add a visual to a sheet in a QuickSight analysis.
WARNING: This modifies the analysis definition. A backup is automatically created before making changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet_id | Yes | The target sheet ID to add the visual to. | |
| analysis_id | Yes | The QuickSight analysis ID. | |
| visual_definition | Yes | JSON string of the visual definition. Must be a dict with one key being the visual type (e.g., {"KPIVisual": {...}}, {"BarChartVisual": {...}}). Get examples from get_visual_definition on existing visuals. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||