excel_add_filter
Adds an AutoFilter to a specified worksheet range in an opened Excel workbook, enabling quick data filtering by column values.
Instructions
Add auto-filter
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"startCell": "<startCell>",
"endCell": "<endCell>"
},
"name": "excel_add_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endCell | Yes | Range end (e.g., D100) | |
| filename | Yes | Opened workbook name | |
| startCell | Yes | Range start (e.g., A1) | |
| worksheet | Yes | Worksheet name |