724 B
724 B
Elevation
Run a bash command outside the sandbox with user approval.
Trigger condition: a task requires privileges unavailable inside the sandbox — installing packages, writing to protected paths, managing services.
Calling convention:
execute_code: steps=[{code: "apt install -y ripgrep", elevated: true}]
Constraints:
- Briefly explain what the command does and why it needs elevation before running it.
elevated: trueis per-step — only apply to steps that need it.- Only bash is supported for elevated steps.
- May not be available on all systems; if absent, the step fails with "elevation not available".
- Blocks until the user approves or denies — this is expected, not an error.