project_step_history
Undo or redo exactly one step in FL Studio's project history, then verify the new position from the receipt before continuing.
Instructions
Undo or redo one step of FL Studio's project history and verify the move.
Requires write mode (session_set_write_mode). Moves exactly one step and
reads FL's history position back on a later tick; the receipt reports the
position before and after. FL's history covers every project change, not
only PostFader's, so read project_get_history first and guard with
expected_before. Does not save the project.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | undo moves one step back in FL's history; redo moves one step forward. | |
| expected_before | No | Optional history position, count, and/or dirty flag from project_get_history; refuse if changed. | |
| session_fingerprint | No | Optional session_fingerprint from a recent read. The call refuses after a bridge reload or a reported project load. This is a concurrency guard, not authentication or a durable project identity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| before | Yes | ||
| verified | Yes | ||
| warnings | No | ||
| direction | Yes | ||
| applied_at | Yes | ||
| project_saved | No | ||
| bridge_command | Yes | ||
| schema_version | No | 1.0 | |
| requested_position | Yes | ||
| undo_point_created | No | ||
| verification_basis | No | readback_on_a_later_fl_idle_tick | |
| session_fingerprint | No | ||
| verification_summary | Yes | ||
| expected_before_applied | No | ||
| session_precondition_applied | No |