analyze_ldr
Explains an existing .ldr ladder file by network, showing device read/write references, timer settings, decoded counts, and completeness warnings for validation and review.
Instructions
Explain the behavior and device usage of one existing valid .ldr file.
Use this for per-network meaning, decoded counts, device read/write references, timer
settings and completeness warnings. Use read_ldr when full decoded logic or raw payloads
are needed, or inspect_ldr for framing and CRC evidence. Bad CRC or unknown framing returns
an error; opaque networks produce an explicit incomplete-analysis warning. Nothing is
written or sent to a PLC.
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": "analyze_ldr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing .ldr path that must resolve inside the configured workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||