create_line_chart
Create a line chart in a QuickSight analysis sheet from date and value columns to visualize trends over time. Specify aggregation and date granularity for clear time-series reporting.
Instructions
Create a line 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>",
"date_column": "<date_column>",
"value_column": "<value_column>",
"value_aggregation": "<value_aggregation>",
"dataset_identifier": "<dataset_identifier>"
},
"name": "create_line_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. | |
| date_column | Yes | Date column for X-axis. | |
| value_column | Yes | Measure column for Y-axis. | |
| format_string | No | ||
| date_granularity | No | DAY, WEEK, MONTH, QUARTER, or YEAR. | WEEK |
| 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 | |||