relay_status
Check a relay: the user opened https://synthhub.roomi-fields.com/connect/ (or ran osc-bridge connect) and gave you its pairing code. Returns the MIDI output and input ports of their machine, and devices: the driver the user confirmed for each port on the page (use it directly, no detection needed). Nothing is sent to the hardware.
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": {
"code": "<code>"
},
"name": "relay_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The pairing code the relay page or program shows (e.g. 'K7QM-2XPA'). | |
| user_id | No | Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional. |