check_command
Evaluates shell commands and SQL statements before execution, flags destructive or irreversible actions, and returns a verdict with safer alternatives—nothing is run.
Instructions
Check a shell command or SQL statement before running it and say whether it can be undone. Flags recursive and system-path deletes, disk writes, history and credential wiping, firewall changes, force push and hard reset, docker volume and kubernetes deletes, terraform destroy, cloud bucket and resource deletion, DROP/TRUNCATE and DELETE or UPDATE with no WHERE clause. Returns a verdict plus reversible, safe_to_run, needs_human_approval and a safer alternative per finding. Nothing is executed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Defaults to auto. | |
| command | No | Command or statement to check. | |
| commands | No | Check a sequence in one call. |