返回 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). |



