design_trace_lines
Detect straight line segments in an image or canvas using Hough transform after edge detection, then optionally create a trace layer for further editing.
Instructions
Detect straight line segments using Hough transform. Runs edge detection first, then finds lines.
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_trace_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceId | No | Reference image asset ID (default: current canvas). | |
| threshold | No | Min votes for line detection (default: 50). | |
| maxLineGap | No | Max gap to merge segments (default: 10). | |
| createLayer | No | Create a trace layer (default: true). | |
| minLineLength | No | Minimum line length in pixels (default: 30). |