Modify email labels
google_gmail_modifyAdd or remove Gmail labels to mark messages as read/unread, starred, or archived. Organize your inbox by applying labels like STARRED, INBOX, or TRASH.
Instructions
Add or remove labels on a message (e.g. mark read/unread, star, archive).
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": "google_gmail_modify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message ID. | |
| account | No | Account nickname to use. | |
| addLabels | No | Labels to add (e.g. STARRED, INBOX, TRASH). | |
| removeLabels | No | Labels to remove (e.g. UNREAD). |