create_folder
Create a new Outlook folder, optionally as a subfolder under an existing parent. Returns the folder's ID, name, message count, and unread count.
Instructions
Create a new mail folder in Outlook. Creates a top-level folder by default, or a subfolder if parent_folder_id is specified. Returns the created folder with id, name, messageCount, and unreadCount. Use list_folders to discover existing folder IDs for the parent. Returns an error if the parent folder does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new folder (e.g., "Project Archive") | |
| parent_folder_id | No | Parent folder ID to create a subfolder in (e.g., from list_folders). If omitted, creates a top-level folder. |