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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_folder"
}
}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. |