create_chart
Build bar, line, pie, or scatter charts from a specified data range in an Excel sheet, with an optional title, without needing Microsoft Excel installed.
Instructions
Create a chart from data in a sheet
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": {
"workbookId": "<workbookId>",
"sheet": "<sheet>",
"type": "<type>",
"dataRange": "<dataRange>"
},
"name": "create_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of chart to create | |
| sheet | Yes | Sheet name or index (1-based) | |
| title | No | Chart title (optional) | |
| dataRange | Yes | Range containing chart data (e.g., 'A1:B10') | |
| workbookId | Yes | The workbook ID |