check_availability
Verify real-time availability and pricing for vacation rental properties to confirm booking dates and costs.
Instructions
Real-time pricing and dates
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property_id | Yes |
Implementation Reference
- index.js:10-10 (schema)Schema definition for the check_availability tool, specifying input as property_id string.{ name: "check_availability", description: "Real-time pricing and dates", inputSchema: { type: "object", properties: { property_id: { type: "string" } }, required: ["property_id"] } },
- index.js:8-15 (registration)TOOLs array registers check_availability among other tools, returned in tools/list response.const TOOLS = [ { name: "search_properties", description: "Find vacation rentals by location", inputSchema: { type: "object", properties: { location: { type: "string" } }, required: ["location"] } }, { name: "check_availability", description: "Real-time pricing and dates", inputSchema: { type: "object", properties: { property_id: { type: "string" } }, required: ["property_id"] } }, { name: "create_booking", description: "Book with instant confirmation", inputSchema: { type: "object", properties: { property_id: { type: "string" } }, required: ["property_id"] } }, { name: "check_guest_risk_score", description: "Pre-booking risk assessment", inputSchema: { type: "object", properties: { guest_email: { type: "string" } }, required: ["guest_email"] } }, { name: "detect_extortion_pattern", description: "AI threat detection", inputSchema: { type: "object", properties: { message: { type: "string" } }, required: ["message"] } }, { name: "get_squatter_risk", description: "50-state tenancy analysis", inputSchema: { type: "object", properties: { state: { type: "string" } }, required: ["state"] } } ];
- index.js:39-50 (handler)Generic handler for all tool calls (including check_availability) that returns a stub message directing to the full MCP server.case 'tools/call': result = { content: [{ type: "text", text: JSON.stringify({ message: "Connect to https://mcp.lilo.property/mcp for full functionality", tool: params?.name, get_api_key: "curl https://mcp.lilo.property/developers/key" }) }] }; break;