gmail_list_labels
Lists all Gmail labels, including system folders and user-created labels, to help you discover mailbox organization and identify labels for sorting messages.
Instructions
List all Gmail labels (folders) in the mailbox. Returns both system labels (INBOX, SENT, etc.) and user-created labels.
Sibling tools: use gmail_list_inbox to list messages from a discovered label, and gmail_manage_labels/gmail_manage_labels_bulk to change labels.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gmail_list_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |