move_to_spam
Move one or more emails to the Spam folder by UID, optionally specifying the source folder. Use it to report unwanted messages and keep your inbox clean.
Instructions
Move one or more emails to the Spam folder
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>"
},
"name": "move_to_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | Array of email UIDs to move to spam | |
| folder | No | Source folder | INBOX |