write_notes
Add or replace MIDI notes in session or arrangement clips, letting agents compose or edit note patterns by pitch, timing, duration, and velocity.
Instructions
Add notes to a MIDI clip (session or arrangement), or replace a range of notes.
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": {
"notes": "<notes>"
},
"name": "write_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Clip ref/path (e.g. 'id 123'); alternative to track+slot | |
| mode | No | replace clears the given pitch/time range first (default: whole clip) | add |
| slot | No | ||
| notes | Yes | ||
| track | No | ||
| from_time | No | ||
| time_span | No | ||
| from_pitch | No | ||
| pitch_span | No |