Add a font file
add_fontCopies a TTF, OTF, TTC, or OTC font into a GlideDeck project’s assets folder so it stays with the presentation, then returns its family names for setting element fonts.
Instructions
Copies a .ttf/.otf/.ttc/.otc font file into the project's assets/ folder so it travels with the presentation, and returns its family names for update_elements (font).
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": {
"path": "<path>",
"font": "<font>"
},
"name": "add_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | Yes | The font file. | |
| path | Yes | The GlideDeck project file (.glide.json). Absolute, or relative to the server's folder; `.glide.json` is added when there is no extension. |