inspect_freecad
Retrieve FreeCAD object details and API documentation at runtime. Pass an object name to get properties, methods, and TypeId, or a dotted API name to get docstrings and member lists.
Instructions
Runtime introspection of the FreeCAD Python API (last-resort reference when both your knowledge and recall_patterns are insufficient).
Two modes:
- Object mode: pass doc_name + obj_name → the object's TypeId, settable
properties (with types), public methods, and docstring.
- API mode: pass dotted_name (e.g. "Part.makeLoft") → its docstring, or
the member list of a module/class.
Returns:
JSON with properties/members/docstring (compact, capped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | No | ||
| obj_name | No | ||
| dotted_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |