Upload a file into a sandbox
upload_fileWrite a file into the sandbox at an absolute path (parent directories are created). Give content for UTF-8 text OR content_base64 for binary. Limit 5 MB per file inline — for bigger files call get_upload_url and PUT the bytes to the link (no base64 through this chat). Optional mode like "755". Requires: token + live sandbox_id. Max 5 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| path | Yes | ||
| content | No | ||
| sandbox_id | Yes | Sandbox id as returned by create_sandbox / list_sandboxes, e.g. "sb_3f2a…". | |
| content_base64 | No |