gmail_spam
Moves selected Gmail conversations to Spam and reports them to Google to block unwanted messages; requires confirm=true.
Instructions
Report conversations as spam (moved to Spam; the report is sent to Google).
Requires confirm=true (outward-facing or destructive).
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": "gmail_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Act on EVERY conversation of the query/folder list (Gmail's 'Select all' after loading the whole list; repeated until the list is empty for actions that remove conversations from it). Needs query or folder; no index/indexes/match. | |
| index | No | Row index from gmail.list / gmail.search (0 = first row). | |
| match | No | Select every row whose subject contains this text (case-insensitive). | |
| query | No | Run this Gmail search first and take the rows from its results. | |
| folder | No | Open this folder/label first and take the rows from it. | |
| confirm | No | Must be true: this action is outward-facing or destructive. | |
| indexes | No | Several row indexes (multi-selection). | |
| max_rows | No | With match, look at most at this many rows from the top. |