mcp-gsheetsTools Reference
sheets_update_chart
Modify existing charts
sheets_update_chart
Update properties of an existing chart.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
spreadsheetId | string | Yes | The spreadsheet ID |
chartId | number | Yes | The chart ID to update |
updates | object | Yes | Chart updates |
Example
{
"tool": "sheets_update_chart",
"arguments": {
"spreadsheetId": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
"chartId": 123456789,
"updates": {
"title": "Sales Trend 2024",
"sourceRange": "Sheet1!A1:C20"
}
}
}