TL;DR
- Use when: Single file, generated content
- Returns: File UUID for use with
run - Cost: No VM needed
- Prefer:
rsyncfor multiple files (has caching)
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
content | string | No* | - | Text content |
content_base64 | string | No* | - | Base64-encoded binary |
path | string | No* | - | Absolute path to a file on local filesystem to read and upload. Not a destination name — files are content-addressable (UUID). To name the file in a container, use run’s files parameter. |
content, content_base64, or path is required.
Response
Examples
Text Content
Local File
Binary (Base64)
Using the Result
Pass the UUID torun via the files parameter:
Common Mistake
path reads from the local MCP-server filesystem — it does not set the file’s name in storage. The uploaded file is content-addressable and identified only by UUID. To place it at a specific path inside a container, pass the UUID to run’s files parameter: