maily_trash
Moves a message to trash: reversible for Gmail; for IMAP it goes to server's trash folder and Maily cannot restore it. Refuses if no trash folder exists and requires user confirmation before calling.
Instructions
Moves a message to the trash. Reversible for a Gmail profile; for an IMAP profile the message goes to the server's trash folder and Maily cannot restore it. If the IMAP account has no trash folder, the tool refuses (code "no_trash_folder") and leaves the message untouched. Management action: confirm with the user before calling this tool.
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": "maily_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes |