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.
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_edges"
}
}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). |