list_folders
Browse mail folders and retrieve their IDs for referencing emails, or drill into one level of subfolders under a parent folder when a parentFolderId is given.
Instructions
List mail folders. With no parentFolderId, returns top-level folders. With parentFolderId set, returns immediate child folders (one level deep). Use the returned 'id' as a folder reference for list_emails. For Outlook's standard folders you can also pass their well-known names directly (inbox, drafts, sentitems, deleteditems, junkemail, archive, outbox, conversationhistory) without calling this tool first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of folders to return. Default 100, max 200. | |
| parentFolderId | No | If set, list the immediate children of this folder (subfolders). If omitted, list top-level folders in the user's mailbox. |