onedrive-share
Creates a sharing link for a OneDrive file or folder, letting you choose view, edit, or embed access and anonymous or organization scope.
Instructions
Create a sharing link for a file or folder in OneDrive
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "onedrive-share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the item (alternative to itemId) | |
| type | No | Link type: 'view' (default), 'edit', or 'embed' | |
| scope | No | Link scope: 'anonymous' (default) or 'organization' | |
| itemId | No | ID of the item to share |