delete_table_column
Deletes a specified column from an existing table in a Google Doc using the document ID, table start index, and zero-based column index.
Instructions
Delete a column from an existing table in a Google Doc.
Use get_doc_structure to find the table's startIndex and the column_index to delete.
Args: doc_id: The Google Doc file ID. table_start_index: The startIndex of the table (from get_doc_structure). column_index: Zero-based index of the column to delete.
Returns: Confirmation with docId, table_start_index, and deleted column_index.
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": {
"doc_id": "<doc_id>",
"table_start_index": "<table_start_index>",
"column_index": "<column_index>"
},
"name": "delete_table_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| column_index | Yes | ||
| table_start_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||