Create OneDrive Share Link
drive_create_share_linkCreate a sharing link for OneDrive files or folders, specifying link type (view, edit, embed) and sharing scope (anonymous, organization, or users).
Instructions
Create a sharing link for a file or folder in the signed-in user OneDrive. Requires delegated Files.ReadWrite. Actual sharing scope depends on tenant policy. Chinese intents / 中文意图: 创建OneDrive分享链接, 分享网盘文件, 生成文件链接.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Link type. Defaults to view. | |
| scope | No | Sharing scope. Defaults to organization. | |
| itemId | Yes | OneDrive item ID. |