Check open time slots
get_availabilityList open time slots (Asia/Taipei) for one service in the next 1–14 days, with remaining capacity. Use this when the user asks when they can go or wants a particular day or time (e.g. 「週日早上有空嗎」), and pick the slots on that day and time. Use the returned slot value as-is in request_booking. Read-only.
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": {
"business_id": "<business_id>",
"service_id": "<service_id>"
},
"name": "get_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days ahead, default 14 | |
| teacher | No | Only slots taught by this teacher or trainer | |
| service_id | Yes | service_id from get_business | |
| business_id | Yes | business_id from search_businesses |