report_not_junk
Marks recognized senders' messages as not spam, trains the junk filter, adds each sender to the safe senders list, and moves messages to the inbox by default.
Instructions
Report messages as not spam: trains the filter, adds each sender to the safe senders list (their mail then skips the junk filter) and, by default, moves the messages to the inbox. Only for senders the user recognises.
confirm_count: must equal the number of ids; show the user the list first.
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": {
"message_ids": "<message_ids>"
},
"name": "report_not_junk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_ids | Yes | ||
| confirm_count | No | ||
| move_to_inbox | No |