Delete Filter
deleteFilterDeletes a Thunderbird mail filter by its listFilters index, shifting later filters up one; refuses or asks before removing non-sending rules under Always block.
Instructions
Delete a mail filter by index (from listFilters); later filters shift up by one. Deleting a rule that sends mail is always allowed; deleting another rule of a list that holds one is refused by default ("Always block"), or asks the user with "Ask me each time".
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": {
"accountId": "<accountId>",
"filterIndex": "<filterIndex>"
},
"name": "deleteFilter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account ID | |
| filterName | No | Its name (listFilters): refused if it no longer matches | |
| filterIndex | Yes | Filter index to delete (from listFilters) |