Split stems
stem_splitSplit a full song or mix into separate vocal, drum, bass, and instrumental tracks, with optional tempo and key adjustments; the source file stays unchanged.
Instructions
Split a track into separate instrument stems, optionally retimed and rekeyed.
Use for a full song or mix when the user wants vocals, drums, bass or an instrumental on their own. For tempo and key alone use analyze; for sections use segment. Takes a few minutes and counts as one run. Stems go to a new results folder; the source is unchanged.
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": {
"file_path": "<file_path>"
},
"name": "stem_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stems | No | Stems to extract from: vocals, drums, bass, other, full_song_without_vocals. Default: vocals, drums, bass, other. | |
| algorithm | No | Separation algorithm. Default 'primaudio'. | primaudio |
| file_path | Yes | Full path to a local audio file (.wav, .mp3, .aif, .aiff, .flac, .m4a, .ogg, .aac). ~ is expanded. | |
| target_bpm | No | Retime the stems to this tempo (beats per minute). | |
| target_key | No | Transpose the stems to this key, e.g. 'A minor' or 'F# major'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| files | Yes | ||
| summary | Yes | ||
| metadata | Yes | ||
| output_dir | Yes | ||
| execution_id | Yes |