get_table
Retrieve every cell from a Google Docs table using its index, returning the full row-major grid so you can inspect contents before replacing a row.
Instructions
Read one table's full cell grid.
Use this tool to read every cell of a specific table — identified by the table_index returned from list_tables — before editing a row with replace_table_row.
Returns doc_id, tab_id, revision_id, table_index, rows, columns, cells (the row-major cell grid, list[list[str]]), and has_merged_cells.
Errors: TAB_NOT_FOUND – tab_id not in document TABLE_NOT_FOUND – table_index does not exist in the tab AUTH_EXPIRED – no valid token
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| tab_id | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||