delete_filter
Removes a named SIEVE filter script via ManageSieve on self-hosted mail servers; use it to delete unused filters, but not the currently active script.
Instructions
Delete a SIEVE filter script by name via ManageSieve. Cannot delete the currently active script. Only available on self-hosted mail servers — Gmail and Outlook do not support ManageSieve.
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>",
"name": "<name>"
},
"name": "delete_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the SIEVE script to delete | |
| accountId | Yes | The ID of the account to use | |
| confirmationId | No | Confirmation token from a prior confirmation-required response. Required to execute write operations when server is in --confirm mode. |