mail_move
Move or copy a specific email message to a folder, or move it to Trash, using account and UID details for precise mail organization.
Instructions
Move or copy one exact message to a folder, or move it to the configured Trash. Requires user intent and observed UIDVALIDITY. This does not permanently delete trash contents.
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": {
"accountId": "<accountId>",
"folder": "<folder>",
"uid": "<uid>",
"uidValidity": "<uidValidity>",
"action": "<action>"
},
"name": "mail_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| action | Yes | ||
| folder | Yes | ||
| accountId | Yes | ||
| destination | No | ||
| uidValidity | Yes |