check_command
Test a command against the safety policy to see if it would be allowed, blocked, or require confirmation before execution.
Instructions
Dry-run the safety policy for a command without executing it.
Returns the verdict (allow / needs_confirmation / block), a
human-readable reason, and which rules matched. Use this to understand why
a command would be refused before calling run_command.
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": {
"host": "<host>",
"command": "<command>"
},
"name": "check_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||