Skip to content

list_folders

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

ParameterTypeRequiredDescription
account_idstringNoAccount 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": {} }