load_preset
Load a shared preset (find_presets, get_preset) into the user's device through a relay: its settings are sent through the driver, its patch data as SysEx — which replaces the sound the device holds, so the relay asks the user to accept it and this call waits for the answer (up to 2 minutes): tell the user first. Afterwards, tell SynthHub how it went with report_preset.
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>",
"id": "<id>"
},
"name": "load_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Preset id (e.g. 'p3fa9c1d2e4b7'). | |
| code | Yes | The pairing code the relay page or program shows. | |
| port | No | Output port name (or part of it); needed when the relay has several. | |
| device | No | The device it goes into, when not the preset's own: one of get_preset's loads_on (an M-VAVE FM-1 takes DX7 voices); the sound is sent unchanged. | |
| gap_ms | No | Pause between the SysEx messages, for devices that write slowly (default 50). | |
| user_id | No | Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional. |