export_png_pages
Export each page of a MuseScore score as separate PNG images. Adjust DPI and trim whitespace for customized output.
Instructions
Export each page of a score as a PNG image.
Args: score_b64: Base64-encoded score file. input_suffix: Input extension, e.g. "mscz". dpi: Output resolution in dots per inch (1–2400, default 150). trim: If True, trim whitespace borders (0 px margin).
Returns: List of base64-encoded PNG strings, one per page, in order.
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": {
"score_b64": "<score_b64>",
"input_suffix": "<input_suffix>"
},
"name": "export_png_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score_b64 | Yes | ||
| input_suffix | Yes | ||
| dpi | No | ||
| trim | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |