create_connector
Create a FigJam connector line between two nodes or free canvas points, with optional arrow caps, line type, stroke, and label text for diagramming flows and relationships.
Instructions
Create a FigJam connector line (FigJam only). Each end is either attached to a node (startNodeId/endNodeId + magnet, default AUTO) or a free canvas point (startX/startY, endX/endY). Optional label text.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_connector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endX | No | ||
| endY | No | ||
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| name | No | ||
| label | No | ||
| endCap | No | ||
| startX | No | ||
| startY | No | ||
| stroke | No | Hex | |
| lineType | No | Figma default when omitted | |
| parentId | No | ||
| startCap | No | ||
| endMagnet | No | ||
| endNodeId | No | ||
| startMagnet | No | ||
| startNodeId | No | ||
| strokeWeight | No | ||
| labelFontSize | No |