validate_command
Dry-run validate a command to see if it would be allowed, helping troubleshoot security blocks before execution.
Instructions
[Diagnostics] Test if a command would be allowed without executing it (dry-run validation). Use this to troubleshoot security blocks before attempting execution.
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": {
"shell": "<shell>",
"command": "<command>"
},
"name": "validate_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shell | Yes | Shell to validate against | |
| command | Yes | Command to validate | |
| workingDir | No | Working directory to validate (optional) |