Compose a score from text notation
musescore_composeBuild a real MuseScore score from compact text notation, write MusicXML, and render requested formats such as PDF, PNG, MIDI, or MP3 with measure and notation warnings.
Instructions
Build a real MuseScore score from compact text notation (see musescore_notation_reference). Writes MusicXML, then renders the requested formats with MuseScore. Returns output paths, a musical summary and any measure/notation warnings.
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": {
"source": "<source>"
},
"name": "musescore_compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Output basename (defaults to a slug of the title). | |
| style | No | Absolute path to a MuseScore .mss style file. | |
| outDir | No | Absolute output directory. Default: <workspace>/musescore-studio/out/<name>. | |
| source | Yes | Score source in the notation DSL: header lines (title:, key:, time:, tempo:) followed by part blocks and note tokens such as "C5/4 D5/4 E5/2 |". | |
| formats | No | Formats to export. Default: ["mscz","pdf","png"]. | |
| resolution | No | DPI for png/svg export. Default 130. |