ps_security_gate
Scan code to enforce security policies by blocking critical issues, holding high-severity findings for review, warning on medium risks, and logging low/info items during AI agent actions.
Instructions
Scan code and enforce security policy. Blocks on critical findings, holds high-severity for review, warns on medium, logs low/info.
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": {
"content": "<content>",
"action": "<action>"
},
"name": "ps_security_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Code content to scan | |
| action | Yes | The action being gated (e.g., "write_file", "edit_file") |