create_sharing_link
Create a sharing link for any file by specifying its ID, choosing a link type (view, edit, embed), and setting an access scope (anonymous, organization, users).
Instructions
Create a sharing link. link_type: 'view', 'edit', 'embed'. scope: 'anonymous', 'organization', 'users'.
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": {
"file_id": "<file_id>"
},
"name": "create_sharing_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | organization | |
| file_id | Yes | ||
| link_type | No | view |