google-gmail_modify_message
Modify labels on a Gmail message: add or remove labels, mark as read or unread.
Instructions
Modify labels on a message (add/remove labels, 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": "google-gmail_modify_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message ID to modify | |
| userId | No | User's email address or 'me' for authenticated user | |
| addLabelIds | No | Comma-separated list of label IDs to add | |
| removeLabelIds | No | Comma-separated list of label IDs to remove |