get_types
Discover data types, structs, and function blocks in a MotionWorks IEC project to know what symbols to code against. Filter by search text or kind to narrow results.
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 |