inspect_sketch
Get a compact structured view of a sketch's entities and constraints. Retrieve exact entity IDs and sub-points before editing, making constraint references easier and sketch modifications clearer.
Instructions
Return a compact, structured view of a BTMSketch-151's entities and constraints. Use before calling edit_sketch to learn the entity ids + sub-points (<id>.start / .end / .center) that constraint refs target. Cheaper and easier to scan than get_features; includes a human-readable text block plus machine-readable lists.
Locate the sketch by sketchFeatureId (preferred), by sketchName, or — if the element has exactly one sketch — omit both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | Part Studio element ID | |
| documentId | Yes | ||
| includeRaw | No | When true, also include the raw BTMSketch-151 JSON under `raw`. | |
| sketchName | No | Sketch name as shown in the feature tree. Used when sketchFeatureId is not given. | |
| workspaceId | Yes | ||
| sketchFeatureId | No | featureId of the target BTMSketch-151 (preferred). |