Apply Design System
sp_design_applyApply a pre-built design system to existing HTML by injecting CSS variables and updating fonts and colors.
Instructions
Apply a previously created design system to existing HTML — injects CSS variables, replaces fonts and colors
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": {
"html": "<html>",
"designSystemId": "<designSystemId>"
},
"name": "sp_design_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML to apply design system to | |
| designSystemId | Yes | ID of the design system to apply |