create_bar_chart
Create a bar chart in an AWS QuickSight analysis sheet using a category column, value column, and aggregation to compare dataset values.
Instructions
Create a bar 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>",
"category_column": "<category_column>",
"value_column": "<value_column>",
"value_aggregation": "<value_aggregation>",
"dataset_identifier": "<dataset_identifier>"
},
"name": "create_bar_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. | |
| orientation | No | VERTICAL (default) or HORIZONTAL. | VERTICAL |
| value_column | Yes | Measure column for Y-axis (e.g., "FLIP_TOKEN"). | |
| format_string | No | ||
| category_column | Yes | Dimension column for X-axis (e.g., "MARKET_NAME"). | |
| show_data_labels | No | ||
| value_aggregation | Yes | SUM, COUNT, AVG, etc. | |
| dataset_identifier | Yes | The dataset identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||