mark_message_spam
Marks a specified Gmail message as spam by adding the SPAM label and removing it from INBOX. Use it to flag unwanted email by message ID.
Instructions
Mark one message as spam (adds SPAM, removes INBOX).
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": {
"messageId": "<messageId>"
},
"name": "mark_message_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes |