action microsoft_update_drive_item { label: "Update drive item" description: "Rename a OneDrive file or folder, or move it by setting a new parent." provider: microsoft method: PATCH path: "/v1.0/me/drive/items/{item_id}" 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 update." }, "name": { "type": "string", "description": "New name." }, "parentReference": { "type": "object", "description": "Move target, e.g. {\"id\": \"\"}.", "properties": { "id": { "type": "string" } } } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "parentReference": { "type": "object" }, "webUrl": { "type": "string" } } } } }