get_filter
Retrieve a SIEVE filter script by name from a self-hosted mail account via ManageSieve to inspect its rules. Use account ID and script name; unavailable for Gmail or Outlook.
Instructions
Retrieve the content of a SIEVE filter script by name via ManageSieve. 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": "get_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the SIEVE script to retrieve | |
| accountId | Yes | The ID of the account to use |