Skip to main content
Runs a command. stdout becomes the result; a non-zero exit, a timeout or unparseable JSON is a tool error. Exec tools run arbitrary code, by design. These fields go alongside the common fields, with kind: exec.

Fields

string
required
The executable.
string[]
Arguments, as templates over {{input.*}}.
map<string, string>
Extra environment variables. Values expand ${VAR} from graph’s environment, and ${VAR:-default} falls back when it’s unset or empty.
string
Working directory for the process.
integer
default:"60"
Seconds before the process is killed.
enum<string>
default:"json"
json parses stdout as JSON; text returns it as {text}.Available options: json, text