modify_gmail_message
Add or remove labels on a specific Gmail message by providing the user account, message ID, and labels to add or remove.
Instructions
Modify labels on a Gmail message (add or remove labels).
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": {
"user_id": "<user_id>",
"message_id": "<message_id>"
},
"name": "modify_gmail_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The EMAIL of the Google account. Choose from: | |
| message_id | Yes | The ID of the Gmail message to modify. | |
| add_label_ids | No | Label IDs to add to the message. | |
| remove_label_ids | No | Label IDs to remove from the message. |