Move messages
move_messagesMoves email messages between iCloud Mail folders, including archive, trash, and junk, to organize or delete them without permanent erasure.
Instructions
Moves messages to another folder. destination is a folder path from list_mailboxes, or one of "archive", "trash" or "junk". Moving to trash is how messages are deleted; nothing is erased permanently. Message uids change after a move.
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": {
"uids": "<uids>",
"destination": "<destination>"
},
"name": "move_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | ||
| mailbox | No | Folder the messages are in now. | INBOX |
| destination | Yes |