list_sections
Retrieves a list of sections with rung counts for a specified program. Use this to identify program structure and locate sections when editing ladder logic.
Instructions
List sections and rung counts for one program.
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": {
"project_id": "<project_id>",
"program_name": "<program_name>"
},
"name": "list_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| program_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||