Create upload URL
create_upload_urlCreate a short-lived presigned upload URL (valid 15 minutes) for one object. You can then upload the file with an HTTP PUT to the returned url. The PUT must include every header in the headers field of the result, or the upload is rejected. For Azure Blob, the headers include x-ms-blob-type: BlockBlob.
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": {
"connectionId": "<connectionId>",
"bucket": "<bucket>",
"key": "<key>",
"size": "<size>"
},
"name": "create_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key to write, e.g. "reports/2026/q3.csv" | |
| size | Yes | File size in bytes | |
| bucket | Yes | Bucket name | |
| overwrite | No | Allow replacing an existing object (default false) | |
| contentType | No | Content type of the file, e.g. "text/csv" | |
| connectionId | Yes | Connection ID from list_connections |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| method | Yes | ||
| headers | Yes | ||
| maxBytes | Yes | ||
| expiresAt | Yes |