validate
Run specified shell commands, then compare file changes against allowed and denied patterns to confirm they stay within intended scope.
Instructions
Run explicit commands and a reliable baseline-to-post-command scope check.
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": {
"root": "<root>",
"commands": "<commands>"
},
"name": "validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| commands | Yes | ||
| denied_patterns | No | ||
| timeout_seconds | No | ||
| allowed_patterns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||