Suna Kortix icon

Suna Kortix

Interact with Suna Kortix AI Agents - Execute agents, manage sandboxes, and handle files

Sandbox → Get File Content ⚠️

AI-generated

Summary

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 to application/octet-stream.

Links

Discussion