Download a file from a sandbox
download_fileRead a SMALL file from the sandbox (absolute path, max 5 MB) into this conversation: content as UTF-8 text by default, as_text: false → content_base64. For build artifacts, archives, binaries or anything big use get_download_url instead — you get a short-lived link and download it with curl, without pulling base64 into your context. Requires: token + live sandbox_id. Max 5 MB — bigger: get_download_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| as_text | No | ||
| sandbox_id | Yes | Sandbox id as returned by create_sandbox / list_sandboxes, e.g. "sb_3f2a…". |