demo · Travel & Booking · JSON · API for agents
Find me a hotel in a specific location
{
"name": "search_location",
"kind": "read",
"impl": "imperative",
"description": "Find me a hotel in a specific location",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The location query (e.g. \"Cleveland\")"
},
"checkin_date": {
"type": "string",
"description": "Optional check-in date (YYYY-MM-DD)"
},
"nights": {
"type": "number",
"description": "Optional number of nights to stay"
},
"adults": {
"type": "number",
"description": "Optional number of adult guests"
},
"kids": {
"type": "number",
"description": "Optional number of child guests"
},
"pets": {
"type": "number",
"description": "Optional number of pets"
}
},
"required": [
"query"
]
}
}Look up specific amenity or policy details for a hotel
{
"name": "lookup_amenity",
"kind": "action",
"impl": "imperative",
"description": "Look up specific amenity or policy details for a hotel",
"inputSchema": {
"type": "object",
"properties": {
"hotel_id": {
"type": "string",
"description": "The ID of the hotel"
},
"amenity": {
"type": "string",
"enum": [
"gym",
"spa",
"dining",
"wifi",
"breakfast",
"rooftop bar",
"bar",
"laundry",
"late checkout",
"free parking",
"washer"
],
"description": "The amenity or policy to look up (e.g. \"late checkout\")"
}
},
"required": [
"hotel_id",
"amenity"
]
}
}View the details of a specific hotel by name or id
{
"name": "view_hotel",
"kind": "read",
"impl": "imperative",
"description": "View the details of a specific hotel by name or id",
"inputSchema": {
"type": "object",
"properties": {
"hotel_name_or_id": {
"type": "string",
"description": "The exact name or ID of the hotel to view"
}
},
"required": [
"hotel_name_or_id"
]
}
}