Is the driver free?
check_availabilityWhether the one car and its driver are free on a day and the next days: free; pending (a request awaits the driver's answer and may still be confirmed); busy; unbookable (outside the booking rules: tomorrow to 18 months ahead, Beaune time, within the service's hours). With the hours held, the next free days, the sources read, when, today's date, the page to cite (url, pricesUrl) and a booking link. The driver confirms every booking.
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": {
"date": "<date>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| days | No | ||
| lang | No | ar: Arabic notes, data in English. | |
| time | No | Pickup. | |
| service | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| date | Yes | ||
| days | Yes | ||
| note | Yes | ||
| time | No | ||
| rules | Yes | ||
| state | Yes | ||
| today | Yes | ||
| bookUrl | No | ||
| service | No | ||
| sources | Yes | ||
| nextFree | Yes | ||
| timezone | Yes | ||
| checkedAt | Yes | ||
| pricesUrl | Yes |