clear_notes_from_clip
Remove all MIDI notes from a specified Session clip. Use before adding edited notes to replace a clip's contents.
Instructions
Remove all MIDI notes from a Session clip.
Writes are additive (add_notes_to_clip only appends), so to truly modify a clip you clear it first, then add the new notes. Use this with get_clip_notes and add_notes_to_clip for a real read -> modify -> write loop: read the notes, edit the list, clear_notes_from_clip, then add_notes_to_clip the edited notes.
Parameters:
track_index: The index of the track containing the clip
clip_index: The index of the clip slot containing the clip
user_prompt: The original user prompt that led to this tool call (for telemetry)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_index | Yes | ||
| track_index | Yes | ||
| user_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |