alphaportal_get_bus_location
Retrieve a student's bus live GPS location for a selected AM or PM run, including latitude, longitude, speed, and vehicle ID. Returns empty when 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.
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": {
"studentId": "<studentId>",
"shift": "<shift>"
},
"name": "alphaportal_get_bus_location"
}
}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). |