Code Execution (Sandbox)
When to Use
- Run Python/Node.js code →
execute_code - Initialize project →
create_venv(do this BEFORE installing packages) - Install packages →
install_package - Shell commands →
run_command - Remote SSH command →
run_ssh_command(only when Remote SSH is enabled for this Choom) - Copy files workspace ↔ remote host →
ssh_copy_file(direction: "pull"remote→workspace,"push"workspace→remote; binary-safe scp)
Important
- Timeout: default 30s, max 120s
- Python venvs auto-activated if present
- Output truncated at 50KB per stream
- Always create venv/project before installing packages
- Remote SSH uses existing non-interactive OpenSSH keys and known hosts; never request passwords or bypass host verification