Sheets Read
sheets_readRead data from a Google Sheet range. Specify sheet name and range (e.g., 'A1:C10'). Returns rows as arrays of cell values.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"range": "Sheet1!A1:D10",
"spreadsheet_id": "1BxiMVs0XRA5nFMmqvzausWYMYq6nS8twLu0gKBvMZsk"
},
"name": "sheets_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | A1 notation range (e.g., "Sheet1!A1:D10") | |
| spreadsheet_id | Yes | Spreadsheet ID (from the URL) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error code if connection required | |
| range | No | A1 notation range of the data read | |
| values | No | Array of rows, each row is an array of cell values | |
| message | No | Error message if connection required | |
| majorDimension | No | Row major dimension (ROWS or COLUMNS) |