Propose reporting a message as spam
propose_mark_spamReturns a pending spam report for the person to approve in the app prompt or on the approval page. Call confirm_mark_spam next. Nothing happens until they approve. Never moves anything itself. Reporting a message as spam teaches the provider's own filter, so later mail from that sender is affected too — that part is not undone by putting the message back, which is why this is proposed rather than done in one call. Prefer trash_messages when the human just wants the message gone. Check get_triage_profile first: VIP people/domains are never-auto, so ask the human before acting on their mail. Approval is the app prompt or the approval page (approvalUrl); the result says which (approvalPath). Chat approval does not count.
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": {
"inboxId": "<inboxId>",
"messageId": "<messageId>"
},
"name": "propose_mark_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inboxId | Yes | ||
| confirmed | No | Only needed when the sender is on the VIP list: pass true after the human agrees in chat. | |
| messageId | Yes |