Edit table structure
edit_tableRestructure an existing Google Slides table by inserting or deleting rows and columns. Specify row/column index, insertion direction, and count.
Instructions
Restructures an existing table in one call. action=insert_rows needs row_index (+optional below, default true, and count 1-20); insert_columns needs column_index (+optional right, default true, and count); delete_row needs row_index and delete_column needs column_index — deletion permanently discards the cells' content, and the remaining rows/columns shift so indexes change between successive edits (re-check with list_slides). Cell TEXT is written with set_text/insert_text (row_index + column_index), not here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| below | No | insert_rows: insert below the reference row (default true; false = above). | |
| count | No | How many rows/columns to insert (default 1). | |
| right | No | insert_columns: insert to the right of the reference column (default true; false = left). | |
| action | Yes | The structural edit to apply. | |
| row_index | No | Reference row, 0-based (insert_rows / delete_row). | |
| column_index | No | Reference column, 0-based (insert_columns / delete_column). | |
| presentation_id | Yes | The presentation id — the long id from the URL (docs.google.com/presentation/d/<presentationId>/edit) or from create_presentation output. | |
| table_object_id | Yes | The table's object id (type "table" in list_slides). |