sheets_create_chart
Create a chart in a Google Sheets spreadsheet from a specified data range, with options for chart type, title, and placement.
Instructions
Create various types of charts in Google Sheets
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": {
"spreadsheetId": "<spreadsheetId>",
"chartType": "<chartType>",
"dataRange": "<dataRange>"
},
"name": "sheets_create_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title of the chart | |
| position | No | Position where to place the chart (overlayPosition or position) | |
| chartType | Yes | Type of chart to create | |
| dataRange | Yes | Range containing the data for the chart | |
| spreadsheetId | Yes | The ID of the spreadsheet |