gmail_apply_label
Apply a label to a Gmail message by providing the email address, message ID, and label ID from the list labels tool.
Instructions
Apply a label to an email. Use gmail_list_labels to get label IDs.
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": {
"email": "<email>",
"messageId": "<messageId>",
"labelId": "<labelId>"
},
"name": "gmail_apply_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The Gmail address the email belongs to. | ||
| labelId | Yes | The label ID to apply (from gmail_list_labels). | |
| messageId | Yes | The Gmail message ID. |