midi_file_edit
Edit standalone .mid files by applying composable operations to tempo, time signatures, tracks, notes, velocity, CC, transposition, quantization, and timing.
Instructions
Edit a standalone .mid file with composable operations: set_tempo, set_time_sig, rename_track, add_track, remove_track, add_notes, replace_notes, delete_notes, transpose, scale_snap, quantize, humanize, scale_velocity, shift_time, scale_speed, add_cc, add_cc_ramp, delete_cc.
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_path": "<input_path>",
"operations": "<operations>"
},
"name": "midi_file_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| operations | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |