generate_css
Generate ready-to-use CSS @import snippet for a single font or a heading+body font pairing.
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": {
"mode": "<mode>"
},
"name": "generate_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | Font for single mode | |
| mode | Yes | single: one font CSS; pairing: heading+body CSS | |
| size | No | Base font size (e.g. "16px") | |
| weights | No | Font weights to include (e.g. ["400","700"]) | |
| body_font | No | Body font for pairing mode | |
| line_height | No | Line height (e.g. "1.5") | |
| heading_font | No | Heading font for pairing mode |