返回 Microsoft OneDrive

将 Knoon AI 与 Microsoft OneDrive (Microsoft) 连接以自动化 AI 工作流。

Copy a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveCopyFile
测试版
权限
  • Files.ReadWrite
可选权限
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
参数
名称类型描述必填
fileIdfile Select the file to copy.是的
destinationFolderIdfile Select the destination folder.是的
newFileNamemustache Optional. Name for the copied file (e.g. "report-copy.pdf").没有
overwriteExistingboolean If true, overwrite the file if it already exists at destination. If false, return an error.没有
回报
名称类型描述
statusstring COPIED or ERROR.
sensitive.fileIdstring DriveItem ID of the copied file.
sensitive.namestring Copied file name.
sensitive.mimeTypestring File MIME type.
sensitive.sizestring Size (bytes).
sensitive.parentReferenceobject Parent reference metadata for the copied file.
confidential.webUrlstring Web URL to open the item (if available).