apply_filters
Apply all sender filters to a mail folder to clean up recurring newsletters, with an optional dry run that previews moves without changing anything.
Instructions
Apply ALL sender filters to a folder (cleanup), e.g. on a schedule against recurring newsletters.
all_mail=True applies to 'All Mail'. dry_run=True only shows what WOULD
happen, without moving anything.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "apply_filters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | INBOX | |
| dry_run | No | ||
| all_mail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |