Skip to main content
Glama

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" }] }

Input Schema

NameRequiredDescriptionDefault
familyYesThe font family to set. Must be a non-empty string. Maximum length 100 characters.
styleNoOptional. The font style to set (e.g., 'Bold', 'Italic'). If provided, must be a non-empty string. Maximum length 100 characters.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "family": { "description": "The font family to set. Must be a non-empty string. Maximum length 100 characters.", "maxLength": 100, "minLength": 1, "type": "string" }, "style": { "description": "Optional. The font style to set (e.g., 'Bold', 'Italic'). If provided, must be a non-empty string. Maximum length 100 characters.", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "family" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amalinakurniasari/conduit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server