Move messages to a folder
move_messagesMove messages into a folder. This is a real move, not a label change. Handles any number of messages by batching internally, and reports which ones failed rather than aborting the lot.
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": {
"mailbox": "<mailbox>",
"messageIds": "<messageIds>",
"destinationFolderId": "<destinationFolderId>"
},
"name": "move_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Email address of the connected Outlook/Microsoft 365 mailbox to act on. Call list_authorized_mailboxes to see available options. | |
| messageIds | Yes | ||
| destinationFolderId | Yes |