design_load_custom_font
Load a custom font from a sketch asset (OTF/TTF/WOFF2) and register it for use in text layers and MCP tools.
Instructions
Load a custom font from a sketch asset (OTF/TTF/WOFF2). Registers it for use in text layers and MCP tools.
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": {
"assetId": "<assetId>"
},
"name": "design_load_custom_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | No | Override the font family name. | |
| weight | No | Override the font weight (100–900). | |
| assetId | Yes | ID of the font asset in the sketch. |