excel_update_chart
Modify an existing Excel chart to use a new data range by providing the workbook, worksheet, chart index, and start/end cells.
Instructions
Update chart data
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"chartIndex": "<chartIndex>",
"dataStartCell": "<dataStartCell>",
"dataEndCell": "<dataEndCell>"
},
"name": "excel_update_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Workbook name | |
| worksheet | Yes | Worksheet name | |
| chartIndex | Yes | Chart index (0-based) | |
| dataEndCell | Yes | New data end | |
| dataStartCell | Yes | New data start |