connect_shapes
Draw arrows between shapes on a tldraw canvas to create connections and visualize relationships in diagrams or flowcharts.
Instructions
Connect two shapes with an arrow
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": {
"from": "<from>",
"to": "<to>"
},
"name": "connect_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Source shape ID | |
| to | Yes | Target shape ID | |
| label | No | Arrow label |