add_slicer
Add a slicer to a Google Sheets data range, enabling interactive filtering by column values.
Instructions
Add a slicer for a data range.
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>",
"data_range": "<data_range>",
"column_index": "<column_index>"
},
"name": "add_slicer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| title | No | ||
| data_range | Yes | ||
| anchor_cell | No | E2 | |
| column_index | Yes | ||
| width_pixels | No | ||
| height_pixels | No | ||
| spreadsheet_id | Yes | ||
| filter_criteria | No |