Set Gr4 Install
set_gr4_installRegisters a GNU Radio 4 install path—prefix, bin folder, or server binary—so gr4-mcp runs that backend, reloads the block catalog, and can persist it for future runs.
Instructions
Register the GNU Radio 4 install to run the backend from, e.g. "/home/peter/gnuradio4/install/full".
Accepts the install prefix, its bin/ folder or the gr4cp_server binary. The backend is restarted from that install (running sessions are lost) and the block catalog reloaded. persist=True saves it to the gr4-mcp config file so later runs use it too (the GR4_PREFIX environment variable still takes precedence there).
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": {
"path": "<path>"
},
"name": "set_gr4_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| persist | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||