delete_chart
Delete a chart from a Google Sheets spreadsheet by specifying the spreadsheet ID and chart ID. Removes the selected chart from the sheet.
Instructions
Delete a chart from the spreadsheet.
Args: spreadsheet_id: The ID of the spreadsheet. chart_id: The ID of the chart (from list_charts).
Returns: Success message.
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": {
"spreadsheet_id": "<spreadsheet_id>",
"chart_id": "<chart_id>"
},
"name": "delete_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_id | Yes | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |