Get Open Booking Windows
get_availabilityUse this when the user wants live Johnson Bros. appointment availability. Include zip and any known town/state for a customer booking inquiry. Outside-area or unresolved locations receive no windows. Without a location, this returns general capacity only, not eligibility to book; coverage_status is not_checked. Never call for a customer already found outside coverage. Do not promise or create an appointment; use request_booking and confirm_booking.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Service ZIP when known. Always include the customer location for a booking inquiry; outside-area requests receive no windows. | |
| days | No | How many calendar days to search from start_date (or today), 1 to 14; default 7. | |
| town | No | Service town when known, e.g. "Quincy", sent alongside zip. A town without a ZIP returns needs_more_information; use check_service_area for town-only coverage questions. | |
| state | No | Two-letter state code, normally MA; send only together with zip or town. | |
| start_date | No | First day to search as YYYY-MM-DD in the company time zone; omit for today. Past dates are rejected. | |
| time_preference | No | Part of day to keep: any (default), morning, afternoon or evening. | any |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| privacy | Yes | ||
| success | Yes | ||
| windows | Yes | ||
| has_more | No | ||
| timezone | Yes | ||
| next_step | No | ||
| error_code | No | ||
| booking_flow | Yes | ||
| open_windows | Yes | ||
| total_windows | Yes | ||
| missing_fields | No | ||
| requested_days | Yes | ||
| review_sandbox | No | ||
| coverage_status | No | ||
| time_preference | Yes | ||
| returned_windows | No | ||
| total_matching_windows | No |