action microsoft_create_folder { label: "Create folder" description: "Create a folder inside a OneDrive folder. Use the get drive action or list actions to find parent ids; the root folder id is available via list root items." provider: microsoft method: POST path: "/v1.0/me/drive/items/{parent_id}/children" scopes: ["Files.ReadWrite"] input: @json { { "type": "object", "required": ["parent_id", "name", "folder"], "additionalProperties": false, "properties": { "parent_id": { "type": "string", "description": "Parent folder item id. Use root for the drive root." }, "name": { "type": "string", "description": "Folder name." }, "folder": { "type": "object", "description": "Pass an empty object: {}." }, "@microsoft.graph.conflictBehavior": { "type": "string", "enum": ["rename", "replace", "fail"] } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "folder": { "type": "object" }, "webUrl": { "type": "string" } } } } }