Update mail filter
email_filter_updateUpdate an existing mail filter by its ID, modifying name, conditions, and action to file, discard, mark read, or redirect emails.
Instructions
Replace an existing ox-mcp mail filter by id (see email_filter_list).
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": {
"id": "<id>",
"name": "<name>",
"conditions": "<conditions>",
"action": "<action>"
},
"name": "email_filter_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Filter id from email_filter_list. | |
| name | Yes | Human-readable rule name. | |
| stop | No | Stop processing further rules after this one matches. | |
| action | Yes | ||
| server | No | Server/account id to target. Defaults to the configured default server. | |
| matchAll | No | true = all conditions must match (AND); default any (OR). | |
| conditions | Yes |