check_command
Check a shell command for safety by detecting dangerous patterns such as rm -rf, reverse shells, fork bombs, and curl|sh before execution.
Instructions
Check if a shell command is safe to execute. Detects rm -rf, reverse shells, fork bombs, curl|sh, etc.
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": "check_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The shell command to check |