Connect two shapes
visio_connect_shapesConnect two shapes in Visio with a dynamic connector that automatically reroutes when shapes move.
Instructions
Draw a dynamic connector from one shape to another.
The connector is glued to both shapes, so it reroutes itself when either one moves.
Args: from_shape_id: Shape the arrow leaves. to_shape_id: Shape the arrow points at. label: Optional text to put on the connector. page: Page name or 1-based index. Omit for the page on screen. document: File name or 1-based index. Omit for the active document.
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_shape_id": "<from_shape_id>",
"to_shape_id": "<to_shape_id>"
},
"name": "visio_connect_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| label | No | ||
| document | No | ||
| to_shape_id | Yes | ||
| from_shape_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| page | No | ||
| action | Yes | ||
| detail | Yes | ||
| affected | No | ||
| document | No | ||
| shape_id | No |