list_folders
List mailbox folders with total and unread message counts, using normalized roles to locate folders like junk across different email providers.
Instructions
List the folders in a mailbox with message and unread counts.
Each folder has a normalized role that is stable across providers, so you
can ask for 'junk' without knowing the server calls it 'Junk Email'.
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 |
|---|---|---|---|
| account | No | Account name. Optional when only one is configured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |