Get a booking link for a vehicle and dates
get_booking_linkCheck that a vehicle (id from search_vehicles) is available for the dates and return the direct booking link with the vehicle and dates pre-selected, plus the estimated total. The user completes the booking on the page; nothing is booked by this tool.
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": {
"vehicle_id": "<vehicle_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_booking_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Return date YYYY-MM-DD. | |
| start_date | Yes | Pickup date YYYY-MM-DD. | |
| vehicle_id | Yes | Vehicle id from search_vehicles or get_agency. |