Create share link
create_share_linkCreate a public share link for one object. Anyone with the link can download the file without a quickS3 account until the link expires. Use this tool only when the user asks to share a file with someone. To download a file yourself, use create_download_link. This tool needs Read and Share on the file. The link stops working if this access grant is revoked or expires. It also stops working if Read or Share on the file is removed, or if the organisation turns share links off.
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": {
"connectionId": "<connectionId>",
"bucket": "<bucket>",
"key": "<key>"
},
"name": "create_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key, e.g. "reports/2026/q3.csv" | |
| bucket | Yes | Bucket name | |
| connectionId | Yes | Connection ID from list_connections | |
| expiresInSeconds | No | How long the link stays valid, in seconds: from 300 (5 minutes) to 2592000 (30 days). Default 86400 (24 hours). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shareUrl | Yes | ||
| expiresAt | Yes | ||
| shareLinkId | Yes | ||
| limitedByGrant | Yes |