Build CHOP chain
build_chop_chainBuild ordered CHOP chains from an ops list, wiring each output to the next input. Failures log as warnings so partial chains still work; add nullCHOP to make bind_to_channel ready.
Instructions
Declarative Layer-2 builder for an ordered CHOP processing chain. Pass an ops list (type + optional name + optional params); each op[i] is wired output 0 → input 0 of op[i+1] under parent (default /project1). Per-op create/param/connect failures become warnings (fail-forward) — a partial chain still returns useful info. Tip: end the chain in a nullCHOP to make it bind_to_channel-ready.
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": {
"name": "<name>",
"ops": "<ops>"
},
"name": "build_chop_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | Ordered list of CHOPs. Each op[i] is wired output 0 → input 0 of op[i+1]. | |
| name | Yes | Base name for the chain; used as a name prefix when ops omit `name`, and as the chain's reported id. | |
| parent | No | Parent component path. Defaults to /project1. | /project1 |