bulk_move
Move multiple emails to a folder at once using explicit UIDs or search criteria, with a dry-run option to preview changes.
Instructions
Move multiple messages to a different folder in one operation. Provide EITHER uids (an explicit list) OR match (search criteria — same shape as search_messages), not both. Set dryRun: true to preview what would be moved without making changes. Note: moved messages get new UIDs in the destination folder.
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": {
"destination": "<destination>"
},
"name": "bulk_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Source folder (default: INBOX) | INBOX |
| uids | No | Explicit UIDs to move (mutually exclusive with `match`) | |
| match | No | Search criteria; matching messages will be moved (mutually exclusive with `uids`) | |
| destination | Yes | Destination folder path | |
| dryRun | No | If true, preview without moving |