update_driver_location
Updates a driver's current location to a specified location ID, enabling accurate dispatch and ride tracking.
Instructions
Update a driver's current real-time location.
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": {
"driver_id": "<driver_id>",
"location_id": "<location_id>"
},
"name": "update_driver_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| driver_id | Yes | Driver ID | |
| location_id | Yes | New location ID from Locations table |