Create font upload
create_font_uploadA link to add one custom font file (.ttf, .otf or .woff2, up to 30 MB) from your own machine to the workspace's fonts, good for 60 minutes and one upload. Run the curl command it returns; the reply is the font, and text and brand kits can then use its family. list_fonts shows what is there. For fonts on Google Fonts, use add_google_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": {
"name": "<name>"
},
"name": "create_font_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name with its extension, such as Oswald-SemiBold.ttf | |
| family | No | Font family (default: from the file name) | |
| weight | No | Weight, such as 600 (default 400) |