gmail_delete_filter
Preview or delete a Gmail filter by filter_id while preserving its raw restore recipe, so you can remove filter definitions without losing the data needed to recreate them.
Instructions
Preview or delete a Gmail filter while preserving its raw restore recipe.
Discovery: use gmail_list_filters to find and verify the required filter_id.
The restore recipe must be mapped to gmail_create_filter arguments; raw keys such as from and addLabelIds are not accepted directly. Sibling destructive tool gmail_delete_email deletes messages, not filter definitions.
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": {
"filter_id": "<filter_id>"
},
"name": "gmail_delete_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| filter_id | Yes |