Rename File
file_renameRename an existing OneDrive file by providing the file ID and new name, with user confirmation recommended.
Instructions
✏️ Rename a file (requires user confirmation recommended)
Updates the name of an existing OneDrive file.
Args: file_id: The file ID to rename new_name: New name for the file account_id: Microsoft account ID
Returns: Updated file object with new name
Raises: ValueError: If file_id is invalid or new_name is empty
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| new_name | Yes | ||
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||