font-convert
Font converter: TTF/OTF, WOFF and WOFF2 containers, with the font's own embedding permission checked — Repackages a font you supply as base64 (up to 2 MB) between the sfnt (.ttf/.otf), WOFF and WOFF2 containers, for an agent or build step that needs a web font in a particular format: every table is carried over unchanged, the result is read back and its table digest compared with the source, and the font's own OS/2 embedding bits are checked first (a restricted font fails and nothing is returned).
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": {
"fontBase64": "<fontBase64>",
"to": "<to>"
},
"name": "font-convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target container. sfnt is the plain .ttf/.otf file. | |
| fontBase64 | Yes | Base64 of a .ttf, .otf, .woff or .woff2 file (not a .ttc collection), up to 2 MB. |