trash_message
Move ONE Gmail MESSAGE to Trash (as opposed to organize_messages' trash action, which moves a whole thread). RECOVERABLE — not a permanent delete; use untrash_message to restore it. Pass account when more than one Gmail account is connected. Needs gmail.modify — accounts connected before this feature get a reconnect hint. This changes the mailbox — confirm with the user 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_id": "<message_id>"
},
"name": "trash_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account label the message belongs to. Required when several Gmail accounts are connected. | |
| message_id | Yes | Gmail message id (from get_thread's messages[].id). |