update_chart
Modify an existing chart's title, type, data range, or legend position in a Google Spreadsheet.
Instructions
Update an existing chart in a 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": "update_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New chart title (optional) | |
| chart_id | Yes | The ID of the chart to update | |
| chart_type | No | New chart type (optional) | |
| data_range | No | New data range (optional) | |
| spreadsheet_id | Yes | The ID of the spreadsheet | |
| legend_position | No | New legend position (optional) |