Run Command (Kilo-Kit Hard-Gated)
kilo_run_commandExecute terminal commands securely with timeout and guardrails, requiring a valid session. Use this instead of native Bash for safe command execution.
Instructions
MANDATORY: Execute a terminal command with security guardrails and timeout. Use this INSTEAD OF native Bash/terminal tools. PROTOCOL HARD-GATE: Requires valid sessionId in 'ready' state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory relative to repoRoot | |
| format | No | markdown | |
| command | Yes | Terminal command to run | |
| sessionId | Yes | Active Kilo-Kit session ID (must be in ready state) | |
| timeoutMs | No | Timeout in milliseconds | |
| decision_narration | No | MANDATORY INTER-TOOL NARRATION: State what you just concluded, verified, or analyzed before calling this tool. Appears in terminal tool badge for full user observability. | |
| next_action_narration | No | MANDATORY: State what this tool will execute and what immediate action follows. |