Import Google font
system_font_importImport a Google Fonts family into a design system you can edit: the server downloads the latin and latin-ext woff2 files for the weights you ask for (default [400, 700]; multiples of 100 from 100 to 900, at most 9), stores them as assets of the system and adds a fonts entry with source "google" to tokens.json. name is the tokens key (default: the family in lowercase with dashes); importing again under the same name replaces the entry. Rate limited to 5 imports per minute. Returns { id, rev, font, files }.
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": {
"id": "<id>",
"family": "<family>"
},
"name": "system_font_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| family | Yes | ||
| italic | No | ||
| weights | No |