sheets_get_values
Retrieve data from any cell range in a Google Sheets spreadsheet using A1 notation. Specify spreadsheet ID and range to get values for automation or analysis.
Instructions
Get values from a specified range 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": {
"spreadsheetId": "<spreadsheetId>",
"range": "<range>"
},
"name": "sheets_get_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The A1 notation range to retrieve (e.g., "Sheet1!A1:B10") | |
| spreadsheetId | Yes | The ID of the spreadsheet (found in the URL after /d/) | |
| majorDimension | No | The major dimension of the values (default: ROWS) | |
| valueRenderOption | No | How values should be represented (default: FORMATTED_VALUE) |