modify_email
Change email labels in Gmail by specifying the email ID and labels to add or remove, enabling actions like archiving, trashing, and marking read/unread.
Instructions
Modify email labels (archive, trash, mark read/unread)
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": {
"id": "<id>"
},
"name": "modify_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Email ID | |
| addLabels | No | Labels to add | |
| removeLabels | No | Labels to remove |