check_laser_file
Validate SVG or DXF laser-cutting files before cutting: check units, size, layers, open/overlapping paths, feature widths, bed fit, and kerf/slot clearances, with pass/warn/fail and locations.
Instructions
Check a laser cutting file (SVG or DXF) before cutting: units and real size, colour-to-layer mapping (cut/score/engrave), live text, open paths, double/overlapping cut lines, tiny stray paths and zero-length segments, self-intersections, minimum feature/bridge width, minimum hole, loose islands, bed fit and slot widths against thickness and kerf. Returns pass/warn/fail per check with locations in mm (origin top-left).
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": "check_laser_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | No | SVG text, instead of a path. | |
| path | No | Path to a local .svg or .dxf file. | |
| bed_mm | No | Bed size [w, h] in mm. | |
| kerf_mm | No | Laser kerf (full cut width). | |
| profile | No | generic (default), strict, box, tray, kerf-test, ornament, name, silhouette, engrave, layered, refit | |
| min_hole_mm | No | Minimum cut-out width (default 1.0). | |
| clearance_mm | No | Wanted joint play; 0 = press fit. | |
| thickness_mm | No | Sheet thickness; enables the slot-width check. | |
| min_bridge_mm | No | Minimum feature / bridge width (default 1.2). |