Apply Filters
applyFiltersRun enabled manually run filters on existing messages in a Thunderbird folder; unauthorized or Outbox moves/copies are skipped and listed with reasons.
Instructions
Run filters now on the existing messages of a folder. Only enabled rules marked "Manually Run" run; the others, and moves or copies to an account not authorized or to the Outbox, are skipped and listed under skipped with the reason. If the account's filter list holds a rule that forwards, replies or runs an add-on action, running is refused by default ("Always block"); with "Ask me each time" it returns status pending_user_confirmation (follow up with listFilters, confirmation: true).
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>",
"folderPath": "<folderPath>"
},
"name": "applyFilters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account ID (uses its filters) | |
| folderPath | Yes | Folder URI to apply filters to (from listFolders) |