Move to folder
move_to_folderMove one or many Proton Mail messages to another folder; preview bulk moves with dry_run and confirm them to avoid errors.
Instructions
File one message (uid) or many (uids): move it into another folder (e.g. 'Folders/', 'Archive', 'Trash'). Many at once is GATED: preview with dry_run=true, show the user, then call with confirmed=true.
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": {
"to_folder": "<to_folder>"
},
"name": "move_to_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | One message. Pass this or uids. | |
| uids | No | Several messages, as explicit uids. No wildcards. | |
| folder | No | Source folder, default INBOX. | |
| dry_run | No | Preview exactly what would happen and change nothing. Needs no confirmation. | |
| confirmed | No | Required whenever uids is used. | |
| to_folder | Yes | ||
| uidvalidity | No | UIDVALIDITY reported alongside the uid. Pass it back so a mailbox resync cannot make this act on the wrong message. |