generate_policy
Scan your project to auto-detect frameworks and generate tailored security policies, including CSP headers, CORS, RLS, and rate limiting rules.
Instructions
Auto-detect project stack (Next.js, Supabase, Stripe, Clerk, Prisma, etc.) and generate tailored security policies. Outputs ready-to-use CSP headers, CORS configuration, Supabase RLS policies, rate limiting rules, and security headers based on detected frameworks.
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": {
"path": "<path>"
},
"name": "generate_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project root directory to scan | |
| format | No | Output format | markdown |