gsheets_spreadsheets_values_get
Retrieve a range of values from a Google Sheets spreadsheet to support billing, reconciliation, or reporting workflows.
Instructions
Returns a range of values from 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": {
"spreadsheetId": "<spreadsheetId>",
"range": "<range>"
},
"name": "gsheets_spreadsheets_values_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The A1 notation or R1C1 notation of the range to retrieve values from. | |
| spreadsheetId | Yes | The ID of the spreadsheet to retrieve data from. | |
| majorDimension | No | The major dimension that results should use. For example, if the spreadsheet data in Sheet1 is: A1=1,B1=2,A2=3,B2=4, then requesting range=Sheet1!A1:B2?majorDimension=ROWS returns [[1,2],[3,4]], whereas requesting range=Sheet1!A1:B2?majorDimension=COLUMNS returns [[1,3],[2,4]]. | |
| valueRenderOption | No | How values should be represented in the output. The default render option is FORMATTED_VALUE. | |
| dateTimeRenderOption | No | How dates, times, and durations should be represented in the output. This is ignored if valueRenderOption is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER. |