List mailboxes (folders/labels)
proton_list_foldersLists all Proton Bridge IMAP mailboxes, including system folders and user labels, and returns path values to use as mailbox arguments in other tools.
Instructions
Lists every IMAP mailbox exposed by Proton Bridge (system folders like INBOX/Sent/Trash and user labels/folders). Use the returned 'path' values as the mailbox argument in other tools. Call this first when the agent doesn't know the mailbox layout.
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": "proton_list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folders | Yes |