{
  "site": "https://masayahomes.in",
  "about": "Everything an AI agent can do on masayahomes.in, as structured inputs. Each action has a JSON Schema for its input. The same actions are in the OpenAPI document and, in browsers with WebMCP, as tools on every page. No key needed; rate limited.",
  "openapi": "https://masayahomes.in/api/v1/agent/openapi.json",
  "actions": [
    {
      "name": "property",
      "title": "Property facts, house rules, amenities, travel times",
      "description": "Property facts, house rules, amenities, travel times",
      "method": "GET",
      "url": "https://masayahomes.in/api/v1/agent/property",
      "inputIn": "query",
      "schemaUrl": "https://masayahomes.in/agent/schemas/property.json",
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {}
      },
      "example": "curl https://masayahomes.in/api/v1/agent/property",
      "webmcpTool": "get_property_info",
      "operationId": "getProperty"
    },
    {
      "name": "faqs",
      "title": "Questions and answers",
      "description": "Questions and answers",
      "method": "GET",
      "url": "https://masayahomes.in/api/v1/agent/faqs",
      "inputIn": "query",
      "schemaUrl": "https://masayahomes.in/agent/schemas/faqs.json",
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {}
      },
      "example": "curl https://masayahomes.in/api/v1/agent/faqs",
      "operationId": "listFaqs"
    },
    {
      "name": "articles",
      "title": "Journal articles (built-in and published)",
      "description": "Journal articles (built-in and published)",
      "method": "GET",
      "url": "https://masayahomes.in/api/v1/agent/articles",
      "inputIn": "query",
      "schemaUrl": "https://masayahomes.in/agent/schemas/articles.json",
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "q": {
            "type": "string",
            "maxLength": 100,
            "description": "Optional search words (title, topic, excerpt)"
          }
        }
      },
      "example": "curl \"https://masayahomes.in/api/v1/agent/articles?q=aiims\"",
      "webmcpTool": "search_journal",
      "operationId": "listArticles"
    },
    {
      "name": "ask",
      "title": "Ask a question (answers quoted from the site)",
      "description": "Answers a question in your own words using only this website's text (FAQs, house rules, property facts, travel times, journal articles), quoted word for word with the source page. No language model. Open to any origin, about 30 a minute per address. Questions are logged without personal details (emails and phone numbers are removed; no IP address is stored).",
      "method": "GET",
      "alsoAccepts": "POST",
      "url": "https://masayahomes.in/api/v1/agent/ask",
      "inputIn": "query",
      "schemaUrl": "https://masayahomes.in/agent/schemas/ask.json",
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "q": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500,
            "description": "The question, e.g. Is there parking?"
          }
        },
        "required": [
          "q"
        ]
      },
      "example": "curl \"https://masayahomes.in/api/v1/agent/ask?q=Is+there+parking\"",
      "webmcpTool": "ask_question",
      "operationId": "askQuestion"
    },
    {
      "name": "availability",
      "title": "Free and booked nights",
      "description": "Nights from `from` to `to`, both inclusive (default: today and the next 30 nights; at most 120). A stay checking in on a free night and out the next morning needs only that night. status \"unknown\" means the live calendar could not be read.",
      "method": "GET",
      "url": "https://masayahomes.in/api/v1/agent/availability",
      "inputIn": "query",
      "schemaUrl": "https://masayahomes.in/agent/schemas/availability.json",
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "from": {
            "type": "string",
            "format": "date",
            "examples": [
              "2027-01-10"
            ],
            "description": "First night (YYYY-MM-DD, India time)"
          },
          "to": {
            "type": "string",
            "format": "date",
            "examples": [
              "2027-01-10"
            ],
            "description": "Last night (YYYY-MM-DD)"
          }
        }
      },
      "example": "curl \"https://masayahomes.in/api/v1/agent/availability?from=2027-01-10&to=2027-01-20\"",
      "webmcpTool": "check_availability",
      "operationId": "getAvailability"
    },
    {
      "name": "quote",
      "title": "Price for a stay",
      "description": "Price for a stay",
      "method": "GET",
      "url": "https://masayahomes.in/api/v1/agent/quote",
      "inputIn": "query",
      "schemaUrl": "https://masayahomes.in/agent/schemas/quote.json",
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "checkin": {
            "type": "string",
            "format": "date",
            "examples": [
              "2027-01-10"
            ],
            "description": "Check-in date"
          },
          "checkout": {
            "type": "string",
            "format": "date",
            "examples": [
              "2027-01-10"
            ],
            "description": "Check-out date"
          },
          "guests": {
            "type": "integer",
            "minimum": 1,
            "maximum": 4,
            "description": "Guests (babies under 2 not counted)"
          }
        },
        "required": [
          "checkin",
          "checkout",
          "guests"
        ]
      },
      "example": "curl \"https://masayahomes.in/api/v1/agent/quote?checkin=2027-01-10&checkout=2027-01-12&guests=2\"",
      "webmcpTool": "get_price_quote",
      "operationId": "getQuote"
    },
    {
      "name": "booking-link",
      "title": "Where the guest books and pays",
      "description": "Where the guest books and pays",
      "method": "GET",
      "url": "https://masayahomes.in/api/v1/agent/booking-link",
      "inputIn": "query",
      "schemaUrl": "https://masayahomes.in/agent/schemas/booking-link.json",
      "input": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "checkin": {
            "type": "string",
            "format": "date",
            "examples": [
              "2027-01-10"
            ],
            "description": "Optional check-in date"
          },
          "checkout": {
            "type": "string",
            "format": "date",
            "examples": [
              "2027-01-10"
            ],
            "description": "Optional check-out date"
          },
          "guests": {
            "type": "integer",
            "minimum": 1,
            "maximum": 4,
            "description": "Optional guests"
          }
        }
      },
      "example": "curl \"https://masayahomes.in/api/v1/agent/booking-link?checkin=2027-01-10&checkout=2027-01-12&guests=2\"",
      "webmcpTool": "start_booking",
      "operationId": "getBookingLink"
    },
    {
      "name": "enquiry",
      "title": "Send the hosts a question for a guest",
      "description": "Stored for the hosts and passed to their assistant. Only send what the guest asked you to send, with their consent. At most 5 an hour per address. The response never repeats the guest's details.",
      "method": "POST",
      "url": "https://masayahomes.in/api/v1/agent/enquiry",
      "inputIn": "json-body",
      "schemaUrl": "https://masayahomes.in/agent/schemas/enquiry.json",
      "input": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "contact",
          "message"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "contact": {
            "type": "string",
            "maxLength": 120,
            "description": "Guest email address, or phone number with country code"
          },
          "checkin": {
            "type": "string",
            "format": "date",
            "examples": [
              "2027-01-10"
            ]
          },
          "checkout": {
            "type": "string",
            "format": "date",
            "examples": [
              "2027-01-10"
            ]
          },
          "guests": {
            "type": "integer",
            "minimum": 1,
            "maximum": 16
          },
          "message": {
            "type": "string",
            "minLength": 5,
            "maxLength": 2000
          },
          "agentName": {
            "type": "string",
            "maxLength": 80,
            "description": "Name of your assistant or service"
          }
        }
      },
      "example": "curl -X POST https://masayahomes.in/api/v1/agent/enquiry -H \"Content-Type: application/json\" -d '{\"name\":\"Asha\",\"contact\":\"<guest email or phone with country code>\",\"checkin\":\"2027-01-10\",\"checkout\":\"2027-01-12\",\"guests\":2,\"message\":\"Is there parking?\",\"agentName\":\"<your assistant name>\"}'",
      "webmcpTool": "send_enquiry",
      "operationId": "sendEnquiry"
    }
  ]
}