Microsoft OneDrive に戻る
Microsoft OneDrive (Microsoft) と Knoon AI を接続して 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). |



