get_sketch_diagnostics
Analyze sketch constraints to identify over-constrained, under-constrained, or conflicting elements in FreeCAD designs.
Instructions
Deep inspection of a sketch's constraint health.
Returns constraint count, geometry count, degrees of freedom, whether the sketch is fully constrained, and a detailed list of every constraint (type, value, referenced geometry indices, driving status, and whether it is redundant or conflicting).
Also returns geometry elements with type-specific details (line endpoints, circle centers/radii, arc parameters).
This is the primary diagnostic tool for sketch problems — over-constrained, under-constrained, or conflicting sketches.
Args: name: Sketch object name (e.g., "Sketch001"). doc_name: Document name. Empty string uses the active document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| doc_name | No |