Connect blocks
connect_blocksConnect an output port of one block to an input port of another. Automatically resolves common port aliases (e.g., "in" -> "signal" for uPlotDisplay, "in" -> "error" for PIDController, "+" / "-" for Subtraction).
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": {
"fromBlockId": "<fromBlockId>",
"fromPortId": "<fromPortId>",
"toBlockId": "<toBlockId>",
"toPortId": "<toPortId>"
},
"name": "connect_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toPortId | Yes | Input port ID of the destination block, e.g. "in" (aliases like "signal" or PID "error" are supported) | |
| toBlockId | Yes | ID of the destination block | |
| fromPortId | Yes | Output port ID of the source block, e.g. "out" (aliases like "signal", "y" are supported) | |
| fromBlockId | Yes | ID of the source block |