design_trace_edges
Detect edges in the current canvas or a reference image with Canny edge detection, return edge statistics, and optionally create a trace:reference layer for tracing or analysis.
Instructions
Detect edges in the current canvas or a reference image using Canny edge detection. Returns edge map statistics and optionally creates a trace:reference layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sigma | No | Gaussian blur sigma (default: 1.4). Higher = smoother edges. | |
| sourceId | No | Reference image asset ID to trace (default: current canvas). | |
| createLayer | No | Create a trace:reference layer with the result (default: true). | |
| lowThreshold | No | Lower hysteresis threshold 0–255 (default: 50). | |
| highThreshold | No | Upper hysteresis threshold 0–255 (default: 100). |