delete_columns
Remove specified columns from spreadsheet files to clean data or restructure layouts, shifting remaining columns left automatically.
Instructions
Delete one or more columns, shifting remaining columns left.
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": {
"file": "<file>",
"column": "<column>"
},
"name": "delete_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the spreadsheet file | |
| column | Yes | 1-based index of the first column to delete (e.g. 1 = A, 2 = B) | |
| count | No | Number of consecutive columns to delete starting from column | |
| sheet | No | Sheet name. Defaults to the first sheet if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |