read_class_source
Retrieve the full source code of a CLASS 2 class (.st file) to inspect method implementations, variable declarations, and logic before modifying the class.
Instructions
Return the full source of a CLASS 2 class (.st file). Use this to read method implementations, variable declarations, and logic before modifying a class.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lcp_path | No | Absolute path to the .lcp file. Omit to use the selected project. | |
| class_name | Yes | Name of the CLASS 2 class to read (e.g. 'Palletizer'). | |
| include_header | No | Also return the contents of the .h file (interface header). Default false. |