Giả lập trạng thái chuyến (sandbox)
simulate_bookingAdvance a sandbox booking through driver assignment, arrival, start, completion, or cancellation states and trigger the corresponding GOCheap webhook.
Instructions
Chỉ có trên sandbox. Chuyển chuyến sang trạng thái tiếp theo, GOCheap gửi webhook tương ứng. Thứ tự thường dùng: assign_driver → driver_arriving → start → complete. Khác: unassign_driver (về searching), cancel_by_driver, cancel_by_gocheap.
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>",
"action": "<action>"
},
"name": "simulate_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| booking_id | Yes |