get_file_url
Retrieve a permanent URL for public files or a temporary presigned URL for private files in S3-compatible storage, with optional expiration control.
Instructions
Get a temporary or permanent URL for a file. For public files, returns permanent URL. For private files, returns temporary presigned URL.
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": {
"filename": "<filename>"
},
"name": "get_file_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Name/key of the file to get URL for | |
| expiresIn | No | Expiration time for presigned URLs in seconds (default: 3600 = 1 hour, max: 604800 = 7 days) |