generate_ldr
Compile caller-supplied custom Ladder IR into an actual .ldr file and return SHA-256, a binary resource link, and verification warnings without overwriting existing files.
Instructions
Compile caller-supplied custom Ladder IR to an actual .ldr file.
Use generate_control_ldr for common controls and generate_sequence_ldr for ordered steps.
Returns SHA-256, a binary resource link and verification warnings. Never overwrites files.
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": {
"output_name": "<output_name>",
"ladder": "<ladder>",
"io_contract": "<io_contract>"
},
"name": "generate_ldr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ladder | Yes | ||
| acceptance | No | ||
| io_contract | Yes | ||
| output_name | Yes | ||
| strict_writers | No | ||
| require_acceptance | No |