generate_critical_css
Generate inline critical CSS for above-the-fold content to eliminate render-blocking stylesheet delays and improve initial page rendering.
Instructions
Generate lightweight (<14KB) above-the-fold inline Critical CSS to eliminate render-blocking stylesheet delays.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_critical_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | sastra_light | |
| fontFamily | No | Custom system font stack. | |
| maxWidthPx | No | Max container width in pixels. | |
| primaryColor | No | Primary accent hex color. | #2563eb |