manageLabel
Create, update, delete, retrieve, or list Gmail labels with optional colors and visibility settings to organize messages and control how labels appear.
Instructions
Manage Gmail labels. action: create | patch | delete | get | list. create requires name. patch/delete/get require id.
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": {
"action": "<action>"
},
"name": "manageLabel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The label ID (required for patch, delete, get) | |
| name | No | The display name of the label (required for create) | |
| color | No | The color settings for the label | |
| action | Yes | The label operation to perform | |
| labelListVisibility | No | Visibility of the label in the label list | |
| messageListVisibility | No | Visibility of messages with this label in the message list |