list_labels
Lists ProtonMail labels and reveals their IMAP folder paths under Labels/, so you can query tagged mail with the correct mailbox name.
Instructions
List ProtonMail labels. Labels are IMAP folders under Labels/ — use list_emails with mailbox="Labels/" to see tagged mail.
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 |
|---|---|---|---|
| account | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |