delete_table_tool
Remove specific tables from Google Sheets while preserving other content. Specify the spreadsheet, sheet, and table names to delete tables and their data permanently.
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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
sheet_name | Yes | The name of the sheet containing the tables | |
spreadsheet_name | Yes | The name of the Google Spreadsheet | |
table_names | Yes | List of table names to delete (e.g., ['Project Tracker', 'Customer Data', 'Sales Report']) |
Input Schema (JSON Schema)
{
"properties": {
"sheet_name": {
"description": "The name of the sheet containing the tables",
"title": "Sheet Name",
"type": "string"
},
"spreadsheet_name": {
"description": "The name of the Google Spreadsheet",
"title": "Spreadsheet Name",
"type": "string"
},
"table_names": {
"description": "List of table names to delete (e.g., ['Project Tracker', 'Customer Data', 'Sales Report'])",
"items": {
"type": "string"
},
"title": "Table Names",
"type": "array"
}
},
"required": [
"spreadsheet_name",
"sheet_name",
"table_names"
],
"title": "delete_table_toolArguments",
"type": "object"
}