Create a temporary link
create_temporary_linkGenerate a presigned download link for a file in a private bucket that expires after a set time, enabling limited-time sharing without changing bucket contents.
Instructions
Make a link to a file in a bucket that stops working after a while (a presigned URL), for private buckets or sharing for a limited time. Anyone with the link can download the file until it expires, even from a private bucket, so only make one when the user asks. Nothing in the bucket changes.
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": {
"key": "<key>"
},
"name": "create_temporary_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The file's key in the bucket (objectKey in search_uploads, key in list_bucket). | |
| minutes | No | How long the link works, in minutes (default 60, at most 60). | |
| destination | No | Destination name or ID. Leave out for the selected one. |