Overview
Theset_default_connector tool registers a FigJam connector node as the default style template. All subsequent calls to create_connections will clone this connector’s appearance (color, stroke weight, arrow style, etc.).
FigJam workflow: Copy a connector from FigJam, paste it onto your Figma page, select it, then set it as default.
Parameters
The node ID of the connector to use as the default template.
- If provided: Sets the specified connector as default
- If omitted: Checks whether a default connector is already configured
Returns
JSON response indicating the operation result:- Success with connectorId:
{ success: true, message: "Default connector set", connectorId: "..." } - Already set (no connectorId):
{ success: true, message: "Default connector is already set", ... } - Not set (no connectorId):
{ success: false, message: "No default connector set. Please copy a connector from FigJam..." }
Example Usage
Check if default connector exists
Set a connector as default
Full workflow for prototype visualization
FigJam Connector Setup
Why FigJam connectors?
FigJam connectors provide rich styling options (colors, arrows, line styles) that aren’t available in standard Figma design files. By copying one over, you bring these visual properties into your design environment.Steps to prepare
- Open a FigJam file (or create a new one)
- Draw a connector line between two shapes
- Customize the connector:
- Stroke color
- Stroke weight
- Arrow style (none, single, double)
- Line style (solid, dashed)
- Select and copy the connector (Cmd/Ctrl+C)
- Switch to your Figma design file
- Paste the connector onto the page where you’ll create connections (Cmd/Ctrl+V)
- Keep it selected or note its ID
- Run:
set_default_connector({ connectorId: "PASTE_NODE_ID" })
Best practices
- Use a distinct color to differentiate prototype flows from design elements
- Keep the default connector on a dedicated layer or frame (e.g., “Connector Templates”)
- Test with a single connection before batch-creating many connectors
Notes
- The default connector is stored in plugin memory for the current session
- If the plugin is closed or the file is reopened, you may need to re-set the default
- The connector itself is not deleted when set as default—it remains on the canvas as a reference
- You can change the default connector anytime by calling
set_default_connectorwith a differentconnectorId
Related Tools
- get_reactions - Extract prototype flows
- create_connections - Draw connector lines using the default style
- reaction_to_connector_strategy prompt - Complete workflow for visualizing prototype flows