Export an existing score
musescore_renderExport MuseScore-openable scores (.mscz, .musicxml, .mid, .gp) to PDF, PNG, SVG, MSCZ, MIDI, MP3, or MusicXML, with optional single-page export for supported formats.
Instructions
Export any score MuseScore can open (.mscz, .musicxml, .mid, .gp, …) to other formats, optionally a single page.
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": {
"input": "<input>"
},
"name": "musescore_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Export just this page (pdf/png/svg/mscz). | |
| input | Yes | Absolute path to the score file. | |
| style | No | Absolute path to a MuseScore .mss style file. | |
| outDir | No | Output directory. Default: <score dir>/out. | |
| formats | No | Default: ["pdf","png"]. | |
| resolution | No | DPI for png/svg. Default 130. |