alphaportal_get_bus_location
Retrieve the live GPS position of a student's bus for an AM or PM run, including latitude, longitude, speed, and vehicle ID. Returns the last known location, or empty if the bus is not running.
Instructions
Get the live GPS location of a student's bus for the selected run (AM or PM): latitude, longitude, speed, and the vehicle id. Returns the last known position; empty when the bus is not currently running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shift | Yes | Which run to track: AM (to school) or PM (home). | |
| studentId | Yes | The numeric studentId (from alphaportal_list_students). |