list_folders
Lists all folders and labels in a Proton Mail mailbox, useful when you don't know where a message is. The returned names are valid inputs for other tools.
Instructions
List every folder and label of the mailbox. Use this first when you do not know where a message lives; the returned names are valid values for other tools.
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_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |