chart_delete
Delete a chart from a spreadsheet using its chart ID from the chart list. Removes the chart and its formatting; undoable.
Instructions
Delete a chart. Get the chart_id from chart__list. Undoable, but it removes the chart and its formatting.
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": {
"sheetIdx": "<sheetIdx>",
"chartId": "<chartId>"
},
"name": "chart_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chartId | Yes | From chart__list. | |
| sheetIdx | Yes |