load_font_async
Load fonts asynchronously in Figma to ensure dynamic text rendering. Specify font family and optional style for efficient design updates.
Instructions
Load a font asynchronously in Figma.
Returns:
content: Array containing a text message with the loaded font. Example: { "content": [{ "type": "text", "text": "Font loaded: Roboto" }] }
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>"
},
"name": "load_font_async"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | Yes | The font family to set. Must be a non-empty string. Maximum length 100 characters. | |
| style | No | Optional. The font style to set (e.g., 'Bold', 'Italic'). If provided, must be a non-empty string. Maximum length 100 characters. |