list_folders
List all folders in an IMAP mailbox, including detected Sent, Trash, and Drafts, to get exact folder names for case-sensitive and nested paths.
Instructions
List every folder in a mailbox, with the detected Sent, Trash and Drafts folders. Folder names are case sensitive and may be nested, so always take names from here rather than guessing.
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 |