List folders
mailbox_list_foldersList all mail folders with exact paths, special roles, and message counts so you can choose the right folder for other mailbox operations.
Instructions
List every mail folder with its exact path (use these paths in other tools), special role (Inbox, Sent, Archive, Junk, Trash, Drafts), total and unread counts, and optionally size.
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": "mailbox_list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_size | No | Also return each folder's size in bytes | |
| include_counts | No | ||
| response_format | No | 'markdown' for readable text (default), 'json' for complete structured data | markdown |