Skip to content

Variable: sshCommandRequestSchema

const sshCommandRequestSchema: ZodObject<{ args: ZodDefault<ZodArray<ZodString>>; command: ZodString; cwd: ZodOptional<ZodString>; env: ZodOptional<ZodRecord<ZodString, ZodString>>; machineId: ZodString; timeoutMs: ZodOptional<ZodNumber>; }, $strict>

SSH command execution request.

  • machineId: Assigned Sandbox id from list_ssh_machines that executes the command.
  • command: Executable name only. Put arguments in args. For shell syntax, use command “sh” with args [“-lc”, “