run
Execute a command in the workspace root with an optional timeout, capturing output and indicating success or failure via exit code.
Instructions
Run a command in the workspace root (not a shell).
Args: command: Program and arguments as a single string. Split with shlex on POSIX. timeout_seconds: Kill after this many seconds. Default 30, max 120.
Output is limited to 1MB each for stdout and stderr. A nonzero exit code returns ok=false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||