Add a font
add_fontAdds a font by its role: display (headlines), body, mono or accent. Either a Google Fonts family by name (google: true; Marsell fetches it), or the font's own file (WOFF2, TTF or OTF; a TTF or OTF is turned into WOFF2) from a public https url or its bytes. Headline and body set the brand kit; mono and accent are kept with the brand's files. For the families Marsell ships, fill_setup's display_font and body_font are enough. For files on the agent's own machine, get_upload_link gives an address to send them to from your shell, so nothing big passes through your messages.
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>",
"role": "<role>"
},
"name": "add_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https address of the file. Marsell fetches it itself (public addresses only, up to 8 MB). | |
| role | Yes | display (headlines) or body set the brand kit; mono and accent are kept with the brand's files. | |
| family | Yes | The family's name. | |
| No | true: fetch the family from Google Fonts instead of sending a file. | ||
| filename | No | Its file name with its extension, when you have one. | |
| data_base64 | No | Or the file's bytes, base64 (as large as one MCP message carries, about 4 MB). |