list_gmail_labels_tool
Retrieve all Gmail labels for a specified user account to organize and manage email categorization within Google Apps Script projects.
Instructions
List all Gmail labels for the user.
Args: user_google_email: The user's Google email address
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": {
"user_google_email": "<user_google_email>"
},
"name": "list_gmail_labels_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |