get_pous
List programs and function blocks from a MotionWorks IEC project, filtered by language, task, or name substring.
Instructions
List programs and function blocks with language, task and size.
Args: path: Project file or directory. language: Filter by body language: "ST", "LD", "FBD". task: Filter by the task the program runs under, e.g. "FastTsk". search: Case-insensitive substring filter on the 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_pous"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| task | No | ||
| search | No | ||
| language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |