Move messages
moveTransfers selected email messages from a specified folder to another folder by role or exact path, using account IDs and message UIDs.
Instructions
Move messages to another folder: a role (archive, trash, junk, inbox, ...) or an exact path.
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": {
"account": "<account>",
"folder": "<folder>",
"uids": "<uids>",
"destination": "<destination>"
},
"name": "move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | Message UIDs in that folder | |
| folder | Yes | Folder role (inbox, sent, drafts, trash, junk, archive, all, flagged) or an exact path from list_folders. | |
| account | Yes | Account id from list_accounts | |
| destination | Yes | Folder role (inbox, sent, drafts, trash, junk, archive, all, flagged) or an exact path from list_folders. |