search_properties
Find vacation rental properties in a specific location to browse available accommodations for booking.
Instructions
Find vacation rentals by location
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes |
Implementation Reference
- index.js:39-50 (handler)Generic handler for all tool calls, including 'search_properties'. Returns a message directing to the full MCP server implementation, including the called tool name.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;
- index.js:9-9 (schema)Input schema definition for the 'search_properties' tool, specifying a required 'location' string parameter.{ name: "search_properties", description: "Find vacation rentals by location", inputSchema: { type: "object", properties: { location: { type: "string" } }, required: ["location"] } },
- index.js:8-15 (registration)The 'search_properties' tool is registered in the TOOLS array, which is returned in the 'tools/list' RPC 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"] } } ];