detect_extortion_pattern
Identify extortion attempts in guest communications to protect vacation rental hosts from fraudulent demands and threats.
Instructions
AI threat detection
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |
Implementation Reference
- index.js:8-15 (registration)Registration of MCP tools in the TOOLS constant array. Includes 'detect_extortion_pattern' tool with its name, description, and input schema.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:13-13 (schema)Input schema definition for the 'detect_extortion_pattern' tool: expects a 'message' string.{ name: "detect_extortion_pattern", description: "AI threat detection", inputSchema: { type: "object", properties: { message: { type: "string" } }, required: ["message"] } },
- index.js:39-50 (handler)Stub handler for all 'tools/call' requests, including 'detect_extortion_pattern'. Returns a message directing to the full server implementation instead of executing the tool.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;