Look Up API
lookup_apiUse this when you need to list the kernelCAD script-runtime surface: global functions (box, path, selectEdges, helix, etc), Shape methods (fillet, sweep, lower, etc), Sketch methods (extrude, revolve, sweep), PathBuilder methods, EdgeQuery/FaceQuery key sets, and featureKindFaceLabels (which globals accept opts.faceLabels and valid value shapes). Use this to discover what is callable from a .kcad.ts script.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| globals | No | ||
| constraints | No | ||
| sceneMethods | No | ||
| shapeMethods | No | ||
| edgeQueryKeys | No | ||
| faceQueryKeys | No | ||
| sketchMethods | No | ||
| curve3dMethods | No | ||
| surfaceMethods | No | ||
| paramRefMethods | No | ||
| pathBuilderMethods | No | ||
| scenePartProperties | No | ||
| featureKindFaceLabels | No | ||
| curve3dAnalyticsMethods | No |