insert
Add code at a specified line number to modify algorithmic music patterns in the Strudel.cc live coding environment.
Instructions
Insert code at specific line
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": {
"position": "<position>",
"code": "<code>"
},
"name": "insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | Yes | Line number | |
| code | Yes | Code to insert |