request_upload
Start a large or binary file upload (up to 1 GiB). Returns a presigned PUT URL: upload the raw bytes there, then call finalize_upload to commit the version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Destination path for the uploaded file, relative to the workspace root. | |
| size | Yes | Exact byte count of the file. Checked again at finalize_upload. | |
| mime_type | No | Content type, e.g. image/png. Guessed from the extension when omitted. | |
| workspace | No | Workspace slug. Optional, defaults to "temp". | |
| override_lock | No | Upload even if another agent holds a lock on this path. Recorded in the activity log. | |
| expected_version | No | Fail with VERSION_CONFLICT unless the file is currently at this version. Re-checked at finalize_upload. |