move_email
Moves one or more messages from a source folder, defaulting to INBOX, into a destination folder and removes them from the source to organize mail.
Instructions
Move one or more messages (uids = a single uid OR a list) to another folder.
Removes the message from the source folder (src_folder, default INBOX). To
only set a label (the message stays in the inbox): add_label.
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": {
"uids": "<uids>",
"dest_folder": "<dest_folder>"
},
"name": "move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | ||
| src_folder | No | INBOX | |
| dest_folder | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |