Delete Pattern
pattern_deleteClears a 1-based pattern's custom name while leaving its notes in place, since FL Studio's API cannot remove pattern slots.
Instructions
Clear a 1-based pattern's custom name (FL's scripting API cannot remove pattern slots).
Because FL Studio's public API cannot delete pattern objects or unlink clips, this
resets the pattern name while leaving notes in place. Use pattern_clear (FL 2026+)
to erase all notes and steps inside the pattern, or piano_roll_clear for one channel.
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": "pattern_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | 1-based pattern index whose custom name will be cleared. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||