Insert or delete a table row/column
edit_tableModify the structure of a Google Docs table: insert or delete rows and columns relative to a specified cell. Choose the operation and insert side to adjust table layout.
Instructions
Structurally edit the table containing the given cell text: insert or delete a row or column. op picks the operation; side picks which side an insert goes on (for rows: after=below (default)/before=above; for columns: after=right (default)/before=left) and is ignored for deletes. Deletes remove the row/column that contains cell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | the structural edit to perform | |
| tab | No | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. | |
| cell | Yes | text identifying a cell in the target table | |
| side | No | for inserts: which side of `cell` to add on — rows after=below (default)/before=above; columns after=right (default)/before=left. Ignored for deletes. | |
| account | No | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. | |
| documentId | Yes |