move_messages
Move one or more Outlook messages by ID to a specified folder, with a confirmation count to preview the move before applying it.
Instructions
Move messages by id to a folder (any count; sent to Graph 20 per request).
Prefer the specific tool when one fits: archive_messages for Archive, delete_messages for Deleted Items, report_junk when the user wants the sender blocked rather than just filed in Junk. destination: inbox, archive, junkemail, deleteditems, or a folder id from list_folders / create_folder. confirm_count: must equal the number of ids. Call without it first, show the user what would move, then call again with it. Moved messages get new ids, returned as new_message_ids; the old ids stop working.
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": {
"message_ids": "<message_ids>",
"destination": "<destination>"
},
"name": "move_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destination | Yes | ||
| message_ids | Yes | ||
| confirm_count | No |