move_email
Move a message to a well-known folder or custom folder ID to organize email across accounts; returns a shareable web link when available.
Instructions
Move a message to any folder by well-known name (e.g. 'inbox', 'drafts', 'junkemail', 'sentitems', 'outbox') or custom folder ID. Returns webUrl, the shareable native web-client link for the post-operation message; it may be omitted with webUrlUnavailableReason.
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": {
"account": "<account>",
"id": "<id>",
"destination": "<destination>"
},
"name": "move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message ID to move | |
| account | Yes | ||
| destination | Yes | Destination folder — a well-known folder name ('archive', 'deleteditems', 'inbox', 'drafts', 'junkemail', 'sentitems', 'outbox') or a raw folder ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| moved | Yes | ||
| webUrl | No | ||
| destination | Yes | ||
| webUrlUnavailableReason | No |