ui_set_snap_mode
Set the global snap mode before placing or moving clips in the playlist, ensuring clicks land on the grid. Restore the previous mode afterward.
Instructions
Set the global snap mode. Accepts a name ('bar', 'beat', 'half_beat', 'step', 'line', 'cell', 'none', ...) or a numeric midi.Snap_* value.
Set this BEFORE any GUI clip placement/moves in the playlist so clicks land on the grid; restore the previous mode afterwards.
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": {
"mode": "<mode>"
},
"name": "ui_set_snap_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes |