Load Saved Flight
msfs_load_flightLoad a saved flight to restore a known starting state before test runs, replacing the current flight and waiting for MSFS to respond.
Instructions
Load a saved flight, replacing the current one.
Use this to restore a known starting state before a test run. The current flight is discarded without prompting.
Does not return as soon as the load call succeeds -- it waits for MSFS to resume answering SimConnect first (bounded; see _wait_for_sim_responsive and msfs_save_flight's docstring for the measurement behind this). FlightLoad's own stall was short in the one round trip measured live (~0.9s), but a heavier scenery load could take much longer, so this does not assume load is always cheap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .FLT file, e.g. 'C:\Users\you\Documents\approach-test.FLT' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |