list_gmail_labels
Retrieve and display all Gmail labels, including their IDs, names, and types, for a specified user email address using the Google Workspace MCP Server.
Instructions
Lists all labels in the user's Gmail account.
Args:
user_google_email (str): The user's Google email address. Required.
Returns:
str: A formatted list of all labels with their IDs, names, and types.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
service | Yes | ||
user_google_email | Yes |
Input Schema (JSON Schema)
{
"properties": {
"service": {
"title": "service",
"type": "string"
},
"user_google_email": {
"title": "User Google Email",
"type": "string"
}
},
"required": [
"service",
"user_google_email"
],
"title": "list_gmail_labelsArguments",
"type": "object"
}