Rename / move a OneDrive file
update_onedrive_fileRename or move a OneDrive file to a new folder using its file ID. Specify a new name or target folder ID to update the item's location.
Instructions
Update a OneDrive item: rename (name) and/or move it into a folder (moveToFolderId). Pass fileId (from list_onedrive_files). To remove an item, use delete_onedrive_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | new name | |
| fileId | Yes | the OneDrive item id | |
| moveToFolderId | No | folder id to move the item into (from create_onedrive_folder / list_onedrive_files) |