create_pie_chart
Add a pie chart to a QuickSight analysis sheet by mapping a dimension column to slices and an aggregated measure column to sizes.
Instructions
Create a pie chart from simple parameters.
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>",
"sheet_id": "<sheet_id>",
"title": "<title>",
"group_column": "<group_column>",
"value_column": "<value_column>",
"value_aggregation": "<value_aggregation>",
"dataset_identifier": "<dataset_identifier>"
},
"name": "create_pie_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Display title. | |
| sheet_id | Yes | The sheet to add the chart to. | |
| analysis_id | Yes | The QuickSight analysis ID. | |
| group_column | Yes | Dimension column for pie slices (e.g., "MARKET_NAME"). | |
| value_column | Yes | Measure column for slice sizes (e.g., "REVENUE"). | |
| format_string | No | Display format (e.g., "#,##0", "$#,##0.00", "0.0%"). Leave empty for default formatting. | |
| value_aggregation | Yes | SUM, COUNT, AVG, MIN, MAX, or DISTINCT_COUNT. | |
| dataset_identifier | Yes | The dataset identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||