Start a file upload
create_uploadReserve an upload for a file you will send yourself. Returns a tus URL: PATCH the bytes there in pieces of at most 95 MB (headers Tus-Resumable: 1.0.0, Upload-Offset, Content-Type: application/offset+octet-stream, optional Upload-Checksum: sha256 ). Also returns ready-made curl commands and the final download link.
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": {
"name": "<name>",
"size": "<size>"
},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| burn | No | Burn after the first download (same as max_downloads 1). | |
| name | Yes | File name. | |
| size | Yes | Exact file size in bytes. | |
| sha256 | No | Optional SHA-256 hex of the whole file; the server checks it when the upload finishes. | |
| expires | No | How long the share lives: 1h, 6h, 24h (default), 3d or 7d (max). | |
| description | No | Optional note shown on the download page (max 2000 chars). | |
| max_downloads | No | Delete after this many downloads. 0 or omitted = unlimited until expiry. |