Run Host Command
command_bridge_run_commandExecute a single command on Linux or Windows with policy enforcement. Allowlist mode blocks unconfigured commands and shell control syntax for controlled host access.
Instructions
Run one command on this Linux or Windows host. Allowlist mode blocks shell control syntax and unconfigured commands. This tool may change host state when unrestricted mode is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory under an allowed root. | |
| shell | No | Shell to use. Defaults to the first allowed shell. | |
| command | Yes | Command text to execute. | |
| timeoutMs | No | Requested timeout in milliseconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| cwd | Yes | ||
| shell | Yes | ||
| signal | Yes | ||
| stderr | Yes | ||
| stdout | Yes | ||
| exitCode | Yes | ||
| timedOut | Yes | ||
| truncated | Yes | ||
| durationMs | Yes |