list_folders
Retrieve all email folders and labels from your IMAP account to organize and manage mailbox structure efficiently.
Instructions
List all email folders/labels in the account (IMAP). Provide account_id to target a specific mailbox.
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_id | No | List folders for specific account |