Figma
20 tools in this family (folder Editor/Tools/Figma/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.
| Tool | Effect | Description |
|---|---|---|
uidesign_clear_token | destructive | Wipe the stored Figma PAT from EditorPrefs. DESTRUCTIVE and irreversible: the token is not |
uidesign_convert_to_ugui | writes | Convert a Figma frame to a uGUI prefab-builder C# script (Canvas |
uidesign_convert_to_ui_toolkit | writes | Convert a Figma frame to a UXML + USS pair under |
uidesign_emit_import_preset | writes | Emit a Figma asset-import preset JSON file (default sprite |
uidesign_emit_ugui_prefab_builder | read-only | Emit a uGUI prefab-builder C# script for a node WITHOUT |
uidesign_emit_uxml_uss | read-only | Emit (UXML, USS) for a node WITHOUT writing to disk — returns |
uidesign_export_setup | read-only | Report the export configuration surface: supported formats, |
uidesign_fetch_file | writes | Fetch a Figma file by key from https://api.figma.com/v1/files/<file_key> |
uidesign_get_components | read-only | Return the component library of a cached file as id → |
uidesign_get_node | read-only | Return the full clean-room JSON of a single node (fills, |
uidesign_get_styles | read-only | Return the named-style library of a cached file (fills / |
uidesign_import_color_styles | writes | Convert all FILL styles of a file into a USS StyleSheet with |
uidesign_import_component | writes | Import one Figma Component as either UXML (UI Toolkit) or a |
uidesign_import_component_library | writes | Bulk-import every component of a file (UI Toolkit or uGUI). |
uidesign_import_text_styles | writes | Convert all TEXT styles of a file into a TextMeshPro-preset |
uidesign_init | read-only | Initialize the figma_* family. Verifies Newtonsoft.Json + |
uidesign_list_nodes | read-only | List every node (id / name / type / bbox) in a cached file. |
uidesign_render_node_png | writes | Render a node as PNG via GET /v1/images/<file_key>?ids=<node_id> |
uidesign_render_node_svg | writes | Render a node as SVG. Live: GET /v1/images/<file_key>?format=svg. |
uidesign_set_token | writes | Persist a Figma Personal Access Token in EditorPrefs (XOR + |