Mail: List folders
mail_list_foldersThe caller's mail folders with their message and unread counts. Needed before any move: a folder name the model invents is not a mailbox, and 'Archive' is spelled differently on Gmail, Mailcow and Outlook.
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": "mail_list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | Narrow to one of the caller's mailboxes by its label. |