action microsoft_copy_drive_item { label: "Copy drive item" description: "Copy a OneDrive file or folder. The copy is created asynchronously." provider: microsoft method: POST path: "/v1.0/me/drive/items/{item_id}/copy" scopes: ["Files.ReadWrite"] input: @json { { "type": "object", "required": ["item_id"], "additionalProperties": false, "properties": { "item_id": { "type": "string", "description": "Id of the file or folder to copy." }, "name": { "type": "string", "description": "Name for the copy." }, "parentReference": { "type": "object", "description": "Destination, e.g. {\"driveId\": \"...\", \"id\": \"\"}. Defaults to the same folder.", "properties": { "driveId": { "type": "string" }, "id": { "type": "string" } } } } } } }