Create folder
mail_create_folderCreate a new Outlook folder at the root or within a specified parent folder. If the folder already exists, it returns the existing folder without error.
Instructions
Create an Outlook folder (at the root or under a parent). Idempotent: if a folder with the same name already exists it is returned without error. Example: { name: "Newsletters" } or { name: "2025", parent: "Invoices" }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the folder to create | |
| parent | No | Parent folder (name, path or id). Root if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | ||
| created | Yes |