List Gmail Labels
gmail_list_labelsList all Gmail labels including folders with their IDs and types. Supports markdown or JSON output.
Instructions
List all labels (folders) in Gmail.
Args:
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: List of all labels with their IDs and types.
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 |
|---|---|---|---|
| response_format | No | Output format: 'markdown' or 'json' | markdown |