Connect
connectLinks a source block's output port to a target block's input port, matching port types and handling omitted or dynamic ports in GNU Radio 4 flowgraphs.
Instructions
Connect source block's output port to target block's input port.
Ports may be omitted when the block has a single port of that direction. For dynamic ports pass the base name ("in") to take the next free index, or an explicit handle like "in#1". Port types must match exactly.
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": {
"source": "<source>",
"target": "<target>"
},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| target | Yes | ||
| source_port | No | ||
| target_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||