preflight_action
Assess risky shell commands before execution. Receive an allow, warn, hold, or deny decision with reasons and rollback plan to prevent dangerous actions.
Instructions
GOVERNANCE GATE: before running a tool/shell command, get a safety decision (ALLOW/WARN/HOLD/DENY/REQUIRE_CONFIRMATION/DRY_RUN_ONLY) with reasons + rollback plan. Call this BEFORE any dangerous action.
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": "preflight_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | shell | |
| paths | No | ||
| command | Yes |