get_routines
List POUs from a MotionWorks IEC project file or directory, optionally filtered by POU name.
Instructions
List POUs (alias for get_pous, for familiarity with studio5000).
Args: path: Project file or directory. program: Filter by POU name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "get_routines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| program | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |