Edit Keyboardia session
edit_sessionMake one narrow, retry-safe edit to an existing collaborative session. After every attempt, the next Keyboardia call must be get_session for the same session. A successful call includes a backwards-compatible compact snapshot plus an acknowledgement. That snapshot is not authoritative verification; do not make another edit or finish from it. Read with get_session next. Supported operations: add_track, set_track_instrument, set_track_pan, set_steps, and set_tempo. set_steps changes only the named steps; it never replaces a track or session. set_track_instrument replaces only a track's sound source, keeping its pattern, mix, timing, and custom name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edit | Yes | Exactly one narrow session edit. | |
| session_id | Yes | The UUID after /s/ in a Keyboardia share URL. Pass only the UUID, not the full URL. |