delete_chart
Deletes a chart from a specified worksheet in a workbook by its title or name, removing unwanted visualizations without requiring Microsoft Excel.
Instructions
Delete a chart by its title/name
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>",
"chartName": "<chartName>"
},
"name": "delete_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | Sheet name or index (1-based) | |
| chartName | Yes | The chart title/name to delete | |
| workbookId | Yes | The workbook ID |