Get a share link
v1.file.shareReturn the short share URL for an active file. Provide one of key, share_id, or share_url.
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": "v1.file.share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | S3 object key. | |
| share_id | No | Short share ID. | |
| share_url | No | Full share URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Object key. | |
| cdn_url | No | Direct CDN URL. | |
| share_url | Yes | Short share URL. | |
| preview_url | No | Preview page URL. |