Get an upload link for a large file
storage_upload_linkA private upload link (valid 15 minutes) for sending a file of any size straight into a bucket with an HTTP PUT, for example: curl -T file.zip "". Use it when the file is over 100 MB or lives on the customer's own computer or server. The result also has dashboard_upload_url: a page where the customer can drag the files into that folder without a terminal; for several or large attachments you cannot send yourself, give them that page. It replaces an existing file with the same key.
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_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Where the file will be saved. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| curl | No | ||
| method | No | ||
| expires_in_seconds | No | ||
| dashboard_upload_url | No |