change_tempo
Modify the tempo in a MuseScore file by setting the BPM and beat unit. Replaces all existing tempo markings with the new value.
Instructions
Change the tempo by modifying MusicXML and elements.
Replaces all existing tempo markings in the score.
Args: score_b64: Base64-encoded score file. input_suffix: Input extension, e.g. "mscz". bpm: New tempo in beats per minute (1–400). beat_unit: Beat unit for the metronome marking: quarter, half, eighth, whole.
Returns: Modified MusicXML as a UTF-8 string.
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>",
"bpm": "<bpm>"
},
"name": "change_tempo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score_b64 | Yes | ||
| input_suffix | Yes | ||
| bpm | Yes | ||
| beat_unit | No | quarter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |