gmail_list_labels
List all Gmail labels for a specified Google account, including system labels like INBOX and SENT and custom user labels.
Instructions
List all Gmail labels (system labels like INBOX, SENT, etc. and custom user labels). Requires full scope.
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": {
"accountId": "<accountId>"
},
"name": "gmail_list_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The Google account ID, alias, or email |