delete_table_tool
Delete specified tables from a Google Sheet while preserving other content. Permanently removes table structure and data.
Instructions
Delete tables from Google Sheets.
This tool removes specified tables from a sheet while preserving other content.
The table structure and data will be permanently deleted.
Args:
spreadsheet_name: Name of the spreadsheet
sheet_name: Name of the sheet containing the tables
table_names: List of table names to delete
Returns:
JSON string with success status and deletion details
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": {
"spreadsheet_name": "<spreadsheet_name>",
"sheet_name": "<sheet_name>",
"table_names": "<table_names>"
},
"name": "delete_table_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_name | Yes | The name of the Google Spreadsheet | |
| sheet_name | Yes | The name of the sheet containing the tables | |
| table_names | Yes | List of table names to delete (e.g., ['Project Tracker', 'Customer Data', 'Sales Report']) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |