connect_shapes
Connect two shapes with a dynamic, auto-routing connector that stays glued as shapes move. Set labels, line pattern, color, weight, and arrows for clear relationship flows.
Instructions
Connect two shapes with a dynamic connector glued to both (Visio auto-picks the best sides and re-routes when shapes move).
Args: label: Optional text on the connector (e.g. 'Yes' / 'No'). route: 'right_angle' (default), 'straight', or 'curved'. line_pattern: 'dashed'/'dotted' are the convention for control-plane, auth, or reference flows in architecture diagrams. line_weight_pt: Thicker lines (e.g. 2) suit peering/trust boundaries. line_color: Hex like '#808080'.
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_id": "<from_id>",
"to_id": "<to_id>"
},
"name": "connect_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| label | No | ||
| route | No | right_angle | |
| to_id | Yes | ||
| from_id | Yes | ||
| end_arrow | No | ||
| line_color | No | ||
| begin_arrow | No | ||
| line_pattern | No | solid | |
| line_weight_pt | No |