oc_bash
Runs arbitrary Bash scripts inside the OpenCyber container from a selected engagement directory, supporting pipelines, redirection, and asynchronous, client-cancellable execution.
Instructions
Run an arbitrary Bash script inside the OpenCyber container from the selected engagement directory. Supports pipelines and redirection; the container is the trust boundary. Execution is asynchronous and client-cancellable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"engagement_id": "<engagement_id>",
"script": "<script>"
},
"name": "oc_bash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | ||
| script | Yes | ||
| environment | No | ||
| engagement_id | Yes | ||
| working_directory | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||