Add Block
add_blockAdd a block instance to the current GNU Radio flowgraph by specifying its catalog type, optional instance name, and parameter overrides.
Instructions
Add a block instance to the current graph.
block_type: exact catalog id, e.g. "gr::blocks::basic::SignalGenerator". name: instance name used in connections and live settings (default: derived, e.g. signal_generator0). parameters: only values that differ from the defaults, e.g. {"sample_rate": 48000.0}.
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": {
"block_type": "<block_type>"
},
"name": "add_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| block_type | Yes | ||
| parameters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||