Actions28
- Agent Actions
- Project Actions
- Sandbox Actions
- Tasks/Messages Actions
- Thread Actions
Sandbox → Get File Content ⚠️
AI-generatedSummary
Downloads a file from the specified sandbox path and attaches it to the output item as binary data. Requires JWT session authentication; API Key credentials do not work for this operation.
Inputs
- Sandbox ID (required) — ID of the sandbox containing the file.
- Path (required) — File path within the sandbox; defaults to
/workspace. - Output Binary Property — Name for the output binary property; defaults to
data.
Output shape
A single item with JSON metadata and a binary property.
JSON contains
success: true, the file name, MIME type, and content size. Binary content is stored under the configured Output Binary Property. The filename and MIME type come from the response headers when available; otherwise the filename is derived from the path and the MIME type defaults toapplication/octet-stream.