reaper_call
Invoke any ReaScript function by name, passing an optional array of arguments, and receive pointer handles for chained operations.
Instructions
Call any ReaScript function by name. Pointers come back as {"__handle":"hN"} and can be passed back in. Example: func=CountTracks args=[0].
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": {
"func": "<func>"
},
"name": "reaper_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| func | Yes |