Skip to main content
Zo can execute shell commands in a bash session, allowing for system operations, script execution, and command-line automation. Use cases include: System automation (execute scripts, manage files, automate tasks), Data processing (process files, run analysis scripts, manage datasets), Environment setup (install packages, configure environments).

Parameters

cmd_list
string[]
required
A list of shell command strings to execute concurrently.
cwd
string
default:"/home/workspace"
The working directory in which to execute the commands. Defaults to the user’s workspace root.
device
string
Optional fleet device name or id. When set, the commands run inside that running device’s container instead of the host. The device must be started first. Requires the ‘devices:manage’ scope.
zapp
string
Optional Zo App slug or id. When set, the commands run inside that Zo App’s sandbox instead of the host. Mutually exclusive with ‘device’. Requires the ‘apps:shell’ scope.