Move mail filters in their order
reorder_filtersMove Proton Mail filters to new positions in the order they run, controlling which filter's folder assignment wins for incoming messages.
Instructions
Moves one or several Proton Mail filters to other places in the order Proton runs them. Each move names a filter by id and the position it ends up at, counted from 1 as list_filters shows the order; moves are made one after the other. Every filter runs on each incoming message, and a matching one does not stop the rest, only stop and discard do; when several file a message into folders, the last one wins, labels add up. So a move can change where mail ends up. By default the user confirms the new order in a window of the browser extension, and this call returns before they decide.
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": {
"moves": "<moves>"
},
"name": "reorder_filters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| moves | Yes | One or several moves, made one after the other. |