Open a resumable file transfer
file_transfer_openStart a chunked file transfer session for upload or download. Provides a resume cursor that survives server restarts, with optional sha256 and size verification at commit.
Instructions
Open a chunked upload or download session. Upload: send chunks with file_transfer_write starting at offset 0, then file_transfer_commit. Download: fetch chunks with file_transfer_read until eof. Sessions survive server restarts — resume at the reported nextOffset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Server-side destination (upload) or source (download) path. | |
| size | No | Upload: expected byte size, verified at commit. | |
| sha256 | No | Upload: expected hex sha256, verified at commit. | |
| direction | Yes |