ssh_run_policy
Check if a command would be allowed on an SSH host without running it, and see the matching rule to understand why it was refused.
Instructions
Check whether a command would be allowed on a host, WITHOUT running it. Returns the rule that matched. Use before a risky or unfamiliar command, or when a previous command was refused and you want to know why.
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": "ssh_run_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||