Get Fonts Css Tool
get_fonts_cssGenerate ready-to-use @font-face CSS for a family spec (Google-Fonts-compatible), e.g. "inter:wght@400,700" or a variable range "inter:wght@300..900". Returns CSS text.
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": {
"family": "<family>"
},
"name": "get_fonts_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | Yes | Family spec, e.g. "inter:wght@400,700" or "inter:wght@300..900". | |
| display | No | font-display value (default swap). |