get_types
Lists data types, structs, enums, arrays, aliases, and function blocks in a MotionWorks IEC project; filter by name or kind to build PLC code.
Instructions
List data types, structs and function blocks available in the project.
This is the vocabulary an agent must code against — including the Yaskawa
motion library (AXIS_REF, Y_ENGAGE_DATA, MC_*, Y_*,
AxisControl) when the PLCopen XML export is present, which it is the only
source that carries.
Args: path: Project file or directory. search: Case-insensitive substring filter on the type name. kind: Filter by kind: "struct", "enum", "array", "alias" or "fb". limit: Maximum number of types to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| path | Yes | ||
| limit | No | ||
| search | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |