change_time_signature
Modify the time signature of a MuseScore file by specifying beats per measure and beat type. Adjusts MusicXML elements without altering notes or beaming.
Instructions
Change the time signature by modifying MusicXML elements.
Note: only the time signature element is changed — notes and beaming are not automatically adjusted.
Args: score_b64: Base64-encoded score file. input_suffix: Input extension, e.g. "mscz". beats: Beats per measure (e.g. 3 for 3/4). beat_type: Note value of one beat (1, 2, 4, 8, 16, or 32).
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>",
"beats": "<beats>",
"beat_type": "<beat_type>"
},
"name": "change_time_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score_b64 | Yes | ||
| input_suffix | Yes | ||
| beats | Yes | ||
| beat_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |