create_connector
Connects two existing FigJam elements with an auto-routed arrow; add an optional label to describe the relationship, such as an API call or data flow.
Instructions
Create a connector (arrow) between two elements on the FigJam board. Both elements must already exist. Connectors auto-route between shapes. Use the label param to annotate the connection (e.g. "REST API", "publishes events", "reads from"). Prefer labels over stickies for describing relationships between elements.
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": {
"startElementId": "<startElementId>",
"endElementId": "<endElementId>"
},
"name": "create_connector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Text label displayed at the midpoint of the connector (e.g. "HTTP", "gRPC", "WebSocket", "publishes") | |
| strokeColor | No | Connector stroke color — named preset or hex | |
| endElementId | Yes | ID of the element the connector ends at | |
| startElementId | Yes | ID of the element the connector starts from |