Prepare an availability request
check_availabilityPrepares a WhatsApp message to Ashraf Gents Hostel asking whether a bed is free. Does NOT book or reserve anything; the user must send the message and the hostel confirms. Men 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": {
"stay_type": "<stay_type>",
"arrival_date": "<arrival_date>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| guests | No | ||
| length | No | Nights for daily stays, months for monthly stays. | |
| purpose | No | e.g. student, working, bystander with a patient, exam or interview. | |
| stay_type | Yes | ||
| arrival_date | Yes | YYYY-MM-DD |