list_labels
Lists Gmail system and user-created labels with IDs and message/unread counts to help you select a label ID for listing emails.
Instructions
List all Gmail labels (system labels like INBOX/SENT and user-created labels) with their IDs and message/unread counts. Use a label ID with list_emails.
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": "list_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||