move_messages
Move email messages from one folder to an existing destination folder and return their new UIDs in that destination.
Instructions
Move messages to another folder. Returns their new uids in the destination.
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": {
"folder": "<folder>",
"uidvalidity": "<uidvalidity>",
"uids": "<uids>",
"destination": "<destination>"
},
"name": "move_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | uids from search_messages, all from this one folder. | |
| folder | Yes | Folder name exactly as list_folders or search_messages returned it. | |
| destination | Yes | Existing folder to move the messages into. | |
| uidvalidity | Yes | The uidvalidity that search_messages returned for this folder. |