list_labels
Retrieve every Gmail label with its ID, name, type, color, and visibility so you can identify system and user labels before applying them to messages.
Instructions
All labels with IDs, names, type (system or user), colors and visibility. System labels: INBOX, UNREAD, STARRED, IMPORTANT, SENT, DRAFT, TRASH, SPAM, CATEGORY_*. Label tools accept either an ID or an exact name.
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 | |||