getTable
Retrieves detailed columns, range, and properties for a specified Google Sheets table by name or ID, helping agents inspect table structure before making edits.
Instructions
Gets detailed information about a specific table including its columns, range, and properties. Use the table name or ID returned by listTables.
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>",
"tableIdentifier": "<tableIdentifier>"
},
"name": "getTable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheetId | Yes | The spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL. | |
| tableIdentifier | Yes | The table name or table ID. Names are resolved first, then IDs. Use listTables to see available tables. |