listTables
Lists all tables in a Google Sheets spreadsheet or a specific sheet, helping you discover table names and IDs before performing table operations.
Instructions
Lists all tables in a spreadsheet or specific sheet. Use this to discover table names and IDs before performing table operations.
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>"
},
"name": "listTables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheetName | No | Optional: filter tables to only those on this specific sheet. | |
| spreadsheetId | Yes | The spreadsheet ID — the long string between /d/ and /edit in a Google Sheets URL. |