design_add_line
Add a line layer between two coordinate points with configurable stroke color and width for generative art designs.
Instructions
Add a line layer from (x1, y1) to (x2, y2).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "design_add_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | Start X (default: 0). | |
| x2 | No | End X (default: 200). | |
| y1 | No | Start Y (default: 0). | |
| y2 | No | End Y (default: 200). | |
| strokeColor | No | Line color (default: '#ffffff'). | |
| strokeWidth | No | Line width (default: 2). |