Run shell command
shell_runRun a command with structured arguments inside a specific workspace. The command executes locally with no shell interpolation, providing controlled local execution.
Instructions
Run a structured command array inside an open workspace. This is real local execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | ||
| command | Yes | Executable name or absolute executable path. | |
| args | No | Command arguments. No shell interpolation is used. | |
| workingDirectory | No | Directory relative to the workspace root. | |
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdout | Yes | ||
| stderr | Yes | ||
| exitCode | Yes | ||
| signal | Yes | ||
| durationMs | Yes | ||
| timedOut | Yes |