sandbox
[bot-sandbox] A named Linux sandbox (Python, Node, shell, internet) that pauses instead of dying: files, installed packages and running processes survive between calls and across days. Actions: run (cmd, cwd?, timeout_s? up to 120, background?), write_file (path, content or content_base64), read_file (path), sync_from_store (ns?, prefix?, dir? = /home/user/store: copy your stored files in), sync_to_store (dir?, ns?, prefix?: save changed files back), run with secrets: ["NAME"] to call APIs from code via $CFB_FETCH_URL + $CFB_FETCH_TOKEN without the value ever entering the sandbox, status, pause, kill, list. Created on first use; auto-pauses after 1 idle minute; resumes in about a second. Free: 3 sandboxes, 60 run-minutes/day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ns | No | ||
| cmd | No | ||
| cwd | No | ||
| dir | No | ||
| name | No | ||
| path | No | ||
| action | Yes | ||
| prefix | No | ||
| content | No | ||
| secrets | No | run only: secret names this command may use via $CFB_FETCH_URL with Authorization: Bearer $CFB_FETCH_TOKEN and {{secret:NAME}}; values never enter the sandbox | |
| timeout_s | No | ||
| background | No | ||
| content_base64 | No |