···270270 # Extra environment variable names to inject into bash execution.
271271 # These are added on top of the built-in safe env allowlist.
272272 injected_env_vars: [] # e.g. ["OPENAI_API_BASE", "HTTP_TIMEOUT"]
273273+ # Optional command prefix before execution, for tools such as RTK.
274274+ # Example: binary "rtk" turns `git status` into `rtk git status`.
275275+ rewrite:
276276+ enabled: false
277277+ binary: ""
273278 # Dangerous: enables local PowerShell execution (Windows).
274279 powershell:
275280 # Enable the powershell tool.
···145145- Restricted by `tools.bash.deny_paths` and internal deny-token rules.
146146- Runs with an allowlisted environment instead of inheriting the full parent process environment.
147147- Extra environment variables can be injected explicitly via `tools.bash.injected_env_vars`.
148148+- `tools.bash.rewrite.enabled` optionally prefixes commands before execution with `tools.bash.rewrite.binary`. For example, binary `rtk` turns `git status` into `rtk git status`.
148149149150## `powershell`
150151