Terminal Command
Last updated
Last updated
Terminal commands can be used to execute applications or call X-Callback-URL's on your Mac or through SSH (on a remote machine or your own Mac to circumvent the security sandbox).
The example above calls the open
command, with some Action Variables. For more information on how actions work in general, check the Actions page.
In general any here-doc (<<<
) or piping (|
) might cause issues with the security sandbox. See below for more information of circumventing these limitations.
Most terminal commands will work without a problem, but if you want to write or read information from a file, you will need to allow Inbox AI access to the directory (or the directory above it). To do this, go to "Advanced", and select the sandbox folder.
You have access to some useful Templating options like {{ run.id }}
and {{ dir.tmp }}
for advanced use cases.
Note a powerful use case for terminal commands is running AppleScript.
Circumventing the sandbox opens you up to more risk as the AI can access deeper features on your computer. As a general note, we recommend against given the AI full access to your terminal by giving it blanket access to your terminal, but if you want, you can. Rather, make multiple more confined commands.
Porting your terminal commands through SSH will circumvent the sandbox. Enable the SSH option, fill in your machine's username/password and hostname (localhost for your own machine). Make sure you have enabled "remote login" under system settings on your mac.