Get a download link for a file
storage_file_linkA private download link on globalhostia.com for one file in a bucket, valid for 10 minutes. Opens in any browser without signing in. Share it only with the customer.
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": {
"service_id": "<service_id>",
"region": "<region>",
"bucket": "<bucket>",
"key": "<key>"
},
"name": "storage_file_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | File key as returned by list_storage_files. | |
| bucket | Yes | Bucket name (3-63 lowercase letters, digits, dots, hyphens). | |
| region | Yes | Region code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore). | |
| service_id | Yes | Object Storage service id, as returned by the matching list tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| expires_in_seconds | No |