set_loop
Change the Song Editor loop by setting its start and end positions in beats or toggling looping on and off. Use it to define which section of the song repeats during playback.
Instructions
Change the Song Editor loop. Give at least one argument. This cannot be undone with undo.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Loop end in beats, after begin, for example 16. | |
| begin | No | Loop start in beats from the song start, for example 0. | |
| enabled | No | true turns the loop on, false turns it off. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| begin | Yes | ||
| enabled | Yes |