Move a message to Trash
mail_trashMoves a message to Trash, where the user can still recover it; Prubex never deletes mail permanently. Use it only when the user wants mail deleted; to tidy the Inbox use mail_archive. The account policy can forbid it. Example: { "message_id": "msg_…" }.
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": "mail_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | A message id (`msg_…`) from a list or search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The message's id after the move (it can change). |