Skip to content

list_folders

List folders for an email account. If account_id is omitted, lists folders for all accounts.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | account_id | string | No | Account ID. Use list_accounts to find IDs. |

// List folders for a specific account
{ "tool": "list_folders", "arguments": { "account_id": "acc1" } }
// List folders for all accounts
{ "tool": "list_folders", "arguments": {} }