返回 Microsoft OneDrive
將 Knoon AI 與 Microsoft OneDrive (Microsoft) 連接以自動化 AI 工作流程。
Copy a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveCopyFile
測試版
權限
可選權限
參數
| 名稱 | 類型 | 說明 | 必填 |
|---|---|---|---|
| fileId | file | Select the file to copy. | 是的 |
| destinationFolderId | file | Select the destination folder. | 是的 |
| newFileName | mustache | Optional. Name for the copied file (e.g. "report-copy.pdf"). | 否 |
| overwriteExisting | boolean | If true, overwrite the file if it already exists at destination. If false, return an error. | 否 |
退貨
| 名稱 | 類型 | 說明 |
|---|---|---|
| status | string | COPIED or ERROR. |
| sensitive.fileId | string | DriveItem ID of the copied file. |
| sensitive.name | string | Copied file name. |
| sensitive.mimeType | string | File MIME type. |
| sensitive.size | string | Size (bytes). |
| sensitive.parentReference | object | Parent reference metadata for the copied file. |
| confidential.webUrl | string | Web URL to open the item (if available). |



