sheets_update_chart
Update an existing Google Sheets chart's type, title, or data range to keep visualizations aligned with revised spreadsheet data.
Instructions
Updates an existing chart in a Google Sheets spreadsheet
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": "sheets_update_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title for the chart | |
| chart_id | Yes | The ID of the chart to update | |
| chart_type | No | New chart type (basic chart types only) | |
| data_range | No | New data range in A1 notation (e.g. Sheet1!A1:C20) | |
| spreadsheet_id | Yes | The ID of the spreadsheet |