Select a pattern
fl_pattern_selectSelect an existing FL Studio pattern by its 1-based index to make it current; invalid indexes are rejected, and the previous pattern can be restored in one rollback step.
Instructions
Make a pattern the current one (index must exist -- FL silently clamps out-of-range jumps, so we reject them). One rollback step: restores the previously selected pattern. Reports prev_index / prev_name.
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": {
"index": "<index>"
},
"name": "fl_pattern_select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | 1-based pattern index. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||