security_headers_generate
Security headers generator — Generate a hardened HTTP security-header set (HSTS, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, COOP/CORP, optional COEP) tailored to type=app|spa|static|api and your third-party origins (scripts=, styles=, images=, fonts=, connect=, frames=, media=), with ready-to-paste configs for nginx, Apache, Caddy, Cloudflare/Netlify _headers, vercel.json, Express and IIS web.config (format=). Options: framing=deny|self|, inline_styles=1, preload=1, allow=camera,geolocation..., popups=1, isolate=1, report_uri=. Rejects unsafe source tokens. Pair with /v1/security/headers to grade the live site. Price: $0.003 USDC (Base, via x402).
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": {
"type": "<type>"
},
"name": "security_headers_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | app |