connect_shapes
Draw an arrow connector between two shapes in a Visio diagram, using source and target shape IDs. Optionally add a label to clarify the relationship.
Instructions
Draw a connector (arrow) between two shapes.
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": {
"fromShapeId": "<fromShapeId>",
"toShapeId": "<toShapeId>"
},
"name": "connect_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Optional connector label. | |
| pageIndex | No | 0-based page index. | |
| toShapeId | Yes | Target shape ID. | |
| fromShapeId | Yes | Source shape ID. |