export_device
Write one driver in a format other tools read: 'oscquery' gives its OSC namespace as OSCQuery JSON (every route with type tags, ranges and access, for OSC controllers and browsers); 'midnam' gives its MIDI names as a MIDI Name Document (controllers incl. NRPN/RPN, named values, drum notes per channel, for DAWs such as Ardour or Logic). Both carry the credit and licence of the driver's sources. The document is the text content; an OSCQuery namespace is large (every address, each CC 0-127 included).
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": {
"device": "<device>",
"format": "<format>"
},
"name": "export_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Driver id (e.g. 'korg/minilogue') or slug, from list_devices. | |
| format | Yes | ||
| user_id | No | Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | Size of the document, which is the text content. | |
| device | Yes | Driver id. | |
| format | Yes | ||
| file_name | Yes | A file name to save it under. | |
| media_type | Yes | 'application/json' or 'application/xml'. |