studio_add_font
Add a font file (TTF, OTF, WOFF or WOFF2) to a Design Studio file so text can use it by family name — for fonts that aren't on Google Fonts. Give either a public https URL or the file as base64. TTF, OTF and WOFF embed in PDF exports. Replaces a font of the same family. Changes are saved to the cloud file; an editor tab that already has the file open must be reloaded to see them (and would overwrite them if it saves first). Requires auth (write).
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": {
"document_id": "<document_id>",
"family": "<family>"
},
"name": "studio_add_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https URL of the font file | |
| family | Yes | Family name text elements will use, e.g. 'Helyna' | |
| data_base64 | No | The font file, base64-encoded | |
| document_id | Yes | Studio document UUID |