add_connector
Add straight, elbow, or curved connectors and arrows between coordinates on a slide to visually link elements and clarify relationships.
Instructions
Add connector lines/arrows between points on a slide.
Args:
slide_index: Index of the slide (0-based)
connector_type: Type of connector ("straight", "elbow", "curved")
start_x: Starting X coordinate in inches
start_y: Starting Y coordinate in inches
end_x: Ending X coordinate in inches
end_y: Ending Y coordinate in inches
line_width: Width of the connector line in points
color: RGB color as [r, g, b] list
presentation_id: Optional presentation ID (uses current if not provided)
Returns: Dictionary with operation results
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": {
"slide_index": "<slide_index>",
"connector_type": "<connector_type>",
"start_x": "<start_x>",
"start_y": "<start_y>",
"end_x": "<end_x>",
"end_y": "<end_y>"
},
"name": "add_connector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| end_x | Yes | ||
| end_y | Yes | ||
| start_x | Yes | ||
| start_y | Yes | ||
| line_width | No | ||
| slide_index | Yes | ||
| connector_type | Yes | ||
| presentation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |