file_upload_ticket
Creates a short-lived, token-free URL plus the exact curl command so a local file of any size uploads straight from the machine that holds it, keeping bytes out of the chat.
Instructions
Upload a LOCAL file of any size (video, dataset, spreadsheet, archive) without its bytes passing through this conversation. Returns a short-lived, credential-free URL plus the exact curl line to run: curl -T <local-file> <url>. The destination is fixed by this call, the URL accepts exactly one upload and needs NO token, so an agent without filex credentials can still finish the transfer. Use this whenever the file is already on disk - never base64 it into file_write. Run the returned line on the machine that HOLDS the file (a powershell variant is returned too); if you cannot run commands at all, hand the line to the user. Confirm the result with file_info afterwards.
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": {
"path": "<path>"
},
"name": "file_upload_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | adapter://file path the upload will land at (a FILE path, not a folder) | |
| max_bytes | No | optional lower ceiling than the server maximum | |
| allow_plaintext | No | only for a path inside an end-to-end encrypted folder: store the upload there UNENCRYPTED on purpose. Without it the ticket is refused with E2E_PLAINTEXT_REFUSED | |
| expires_in_seconds | No | how long the URL stays valid (default 1800, max 86400) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| curl | Yes | ||
| next | Yes | ||
| path | Yes | ||
| max_bytes | Yes | ||
| expires_at | Yes | ||
| powershell | Yes |