update_driver_response
Log a driver's response to a booking call, update their score, and receive the next step: start the ride or dispatch the next driver.
Instructions
Record a driver's response to a booking call. Updates driver score. Returns next_action: RIDE_STARTED or GET_NEXT_DRIVER.
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": {
"booking_id": "<booking_id>",
"driver_id": "<driver_id>",
"response": "<response>",
"pool_source": "<pool_source>",
"attempt_order": "<attempt_order>",
"call_placed_at": "<call_placed_at>"
},
"name": "update_driver_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | Driver response | |
| driver_id | Yes | Driver ID who was called | |
| booking_id | Yes | Booking ID | |
| pool_source | Yes | Which pool this driver came from | |
| attempt_order | Yes | Sequential number of this call (1-based) | |
| call_placed_at | Yes | ISO timestamp when the call was placed |