share_file
Create a sharing link for a file or folder. Choose view or edit access and share with anyone or your organization.
Instructions
Create a sharing link for a file or folder
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"itemId": "<itemId>"
},
"name": "share_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | File or folder ID | |
| type | No | Permission type (default: view) | |
| scope | No | Sharing scope (default: anonymous) |