list_folders
Lists IMAP folders for a specified account, or the first configured account if none is given, so agents can discover mailbox structure.
Instructions
List IMAP folders for one account.
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 id or email; omit for the first account |