create_line
Creates a standalone line between given points with customizable arrowheads, labels, and stroke properties for clear diagram connections.
Instructions
Create a standalone line between two points (not attached to 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": {
"points": "<points>"
},
"name": "create_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| points | Yes | Array of points the line passes through | |
| head_type | No | Arrow head/tail type: "FilledArrow", "Arrow", "DoubleArrow", "Bar", "FilledCircle", "Circle", "FilledDiamond", "Diamond", "Crowfoot", "StickArrow", or "" for none | |
| tail_type | No | ||
| stroke_color | No | ||
| stroke_thickness | No |