Load Flight Plan
msfs_load_flight_planLoads a .PLN flight plan into the aircraft's GPS/FMS without moving the aircraft, waiting until MSFS resumes responding to SimConnect.
Instructions
Load a .PLN flight plan into the aircraft's GPS or FMS.
The aircraft is not repositioned; only the plan is loaded.
Does not return as soon as the load call succeeds -- see msfs_save_flight's docstring and _wait_for_sim_responsive for why this waits (bounded) for MSFS to resume answering SimConnect first.
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": {
"path": "<path>"
},
"name": "msfs_load_flight_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .PLN flight plan |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |