MCP tools

Spam filter

Obvious scams go straight to Spam. If something only looks like junk or a scam, the row carries a junkHint and nothing moves.

Call these with tools/call on https://getinboxtriage.com/mcp. See the MCP overview for sign-in and the request format.

train_spam_filter

Tool

Teaches the spam filter from the newest messages in the mail service's own Junk folder, on demand; the same training also runs once a day at sync for every connected inbox. Nothing is moved.

Inputs

NameTypeRequiredDescription
inbox string Required Inbox name or inbox id
limit number Optional How many of the newest junk messages to learn from. Default 50.
Example call
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "train_spam_filter",
    "arguments": {
      "inbox": "..."
    }
  }
}