list_folders
Lists mailbox folders with IDs and display names for the selected account, providing folder identifiers to use with other mail operations.
Instructions
List the mailbox folders of an account: [{id, displayName, ...}].
Use id (Graph) or the folder name (IMAP, e.g. 'INBOX.Leads') as the
folder / folder_id argument of the other tools. Queries the
provider; read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Account to operate on (integer id from list_accounts). Omit or null = the user's active account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |