safe_execute
Screens shell commands for catastrophic patterns like rm -rf, DROP DATABASE, disk format, and fork bombs before running them, providing a pattern-based safety net against irreversible mistakes.
Instructions
Run a shell command after screening it for known-catastrophic patterns (rm -rf, DROP DATABASE, disk format, fork bombs, etc.), regardless of what path or table it targets. This is a pattern-based safety net, not a sandbox.
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": "safe_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |