Run a command
run_commandDestructive
Run a shell command on the user's computer and return stdout, stderr and the exit code.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory. Defaults to the user's home directory. | |
| device | No | Device name. Optional when the account has only one online device. | |
| command | Yes | Shell command to run. | |
| timeout_seconds | No | Kill the command after this many seconds (default 60, max 600). |