sentinel_safe_exec
Execute shell commands in an AST-inspected sandbox that blocks command chaining, enforces timeouts, and redacts secrets from inputs and outputs.
Instructions
Execute shell commands inside an AST-inspected security sandbox with command chaining prevention, timeout enforcement, and automated DLP secret redaction.
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": {
"command": "<command>"
},
"name": "sentinel_safe_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional relative or absolute directory path (must be within sandboxed root) | |
| command | Yes | The shell command line to execute (e.g., "git status", "npm test") | |
| timeoutMs | No | Optional execution timeout in milliseconds (default: 15000) |