confirm_move_email
Confirm and execute an email move using the token from the preparation step. Validates token and email, then moves email to the intended folder.
Instructions
Confirm and execute moving an email using a token from prepare_move_email. Moves the email to the destination folder specified during the prepare step. Returns a success message. Returns an error if the token is invalid, expired, already used, or if the email has changed since the prepare step.
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": {
"token_id": "<token_id>",
"email_id": "<email_id>"
},
"name": "confirm_move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | The email ID to move — must match the ID used in the prepare step | |
| token_id | Yes | The approval token UUID from prepare_move_email (e.g., "a1b2c3d4-...") |