read_ldr
Decode an existing .ldr file into display-order network records and optional Ladder IR to inspect ladder logic and raw payloads without altering the source file.
Instructions
Decode one existing .ldr into display-order network records and optional Ladder IR.
Use this for decoded logic and raw payloads; use inspect_ldr for container offsets or
bad-CRC forensics, and analyze_ldr for device reads/writes and semantic summaries.
Unsupported payloads remain opaque, complete Ladder IR is returned only when every network
decodes, and
bad CRC or unknown framing returns an error. The workspace file is never modified.
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": "read_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 | |||