list_folders
Retrieve all IMAP folders (mailboxes) for an email account, with names decoded from UTF-7 encoding.
Instructions
List every IMAP folder (mailbox) the account can see, UTF-7 decoded.
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 (list_accounts). Omit to use the default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| folders | Yes |