Check availability
sh_check_availabilityCheck free nights and get a Toman price quote for an accommodation, then use the returned listing URL to complete the reservation on shab.ir. Does not book.
Instructions
Check free nights and a Toman price quote. Does not book; use listing_url to reserve on shab.ir.
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": {
"accommodation_id": "<accommodation_id>",
"check_in": "<check_in>",
"check_out": "<check_out>"
},
"name": "sh_check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | No | ||
| check_in | Yes | Gregorian YYYY-MM-DD check-in. | |
| check_out | Yes | Gregorian YYYY-MM-DD check-out. | |
| discount_code | No | ||
| accommodation_id | Yes | Shab house id. |