Delete a OneDrive file
delete_onedrive_fileRemove a OneDrive file by its ID and move it to the recycle bin for easy recovery. Confirm with the user first to prevent accidental deletion.
Instructions
Delete a OneDrive item — it moves to the OneDrive recycle bin (recoverable there). Pass fileId (from list_onedrive_files) + confirm:true. Confirm the exact file with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | the OneDrive item id | |
| confirm | No | REQUIRED true |