quick_chart
Generates bar, line, or pie charts directly from DAX query results, saving each chart to a temp file or a specified output path.
Instructions
Generate a chart (bar, line, or pie) from DAX query results.
Returns JSON with file_path, chart_type, and row_count. If output_path is not provided, the chart is saved to a temp file.
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": {
"connection_name": "<connection_name>",
"query": "<query>",
"chart_type": "<chart_type>",
"x_column": "<x_column>",
"y_column": "<y_column>"
},
"name": "quick_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_rows | No | ||
| x_column | Yes | ||
| y_column | Yes | ||
| chart_type | Yes | ||
| output_path | No | ||
| connection_name | Yes | ||
| connections_dir | No | Connections |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |