nucleo-critical-set
Save a template's critical above-the-fold CSS, strip closing style tags, and cap the output at 50 KB to support faster first render.
Instructions
Saves the critical CSS of a template. The CSS is stripped of "</style" and limited to 50 KB.
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": {
"template": "<template>",
"css": "<css>"
},
"name": "nucleo-critical-set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | Critical (above the fold) CSS of the template. | |
| template | Yes | Template type, for example home, page, single, product. |