add_filter
Add a basic auto-filter to a specified range in a Google Sheet to enable data filtering and analysis.
Instructions
Add a basic filter (auto-filter) to a range.
Args: spreadsheet_id: The ID of the spreadsheet sheet: Sheet/tab name range: A1 notation range (e.g., 'A1:E100')
Returns: Result of the filter operation
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_id": "<spreadsheet_id>",
"sheet": "<sheet>",
"range": "<range>"
},
"name": "add_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | ||
| sheet | Yes | ||
| range | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |