Share a file with a temporary link
share_storage_fileA private download link for one file that anyone holding it can open, valid for expires_hours (1 to 168, default 24). Use it to share a file with someone outside the account. The customer approves the exact file and lifetime first (confirm: true).
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": "share_storage_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| 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). | |
| confirm | No | Must be true. Set it only after the customer has explicitly confirmed this exact change. | |
| service_id | Yes | Object Storage service id, as returned by the matching list tool. | |
| expires_hours | No | How long the link works (default 24). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| expires_hours | No |