{
  "openapi": "3.1.0",
  "security": [],
  "info": {
    "title": "TF Rooms public endpoints and booking connector",
    "version": "2026-11-06",
    "description": "Public site context, discovery and data endpoints, plus the MCP connector for room search, pricing and email-verified booking. The connector takes no payment and never signs for the guest. Booking data stays with the properties.",
    "contact": {
      "email": "newleafmotels@gmail.com",
      "url": "https://tfrooms.com/contact.html"
    }
  },
  "servers": [
    {
      "url": "https://tfrooms.com"
    }
  ],
  "paths": {
    "/llms.txt": {
      "get": {
        "operationId": "getSitesummary",
        "summary": "Site summary",
        "description": "Read the published site summary.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getFullsitecontext",
        "summary": "Full site context",
        "description": "Read the published full site context.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/api-catalog": {
      "get": {
        "operationId": "getPublicAPIcatalog",
        "summary": "Public API catalog",
        "description": "Read the published public api catalog.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/linkset+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "linkset": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "anchor": {
                            "type": "string"
                          },
                          "service-doc": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "href": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": true
                            }
                          },
                          "service-meta": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "href": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": true
                            }
                          },
                          "describedby": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "href": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": true
                            }
                          },
                          "privacy-policy": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "href": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": true
                            }
                          },
                          "item": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "href": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": true
                            }
                          },
                          "service": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "href": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": true
                            }
                          },
                          "service-desc": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "href": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": true
                            }
                          }
                        },
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp/server-card.json": {
      "get": {
        "operationId": "getMCPservercard",
        "summary": "MCP server card",
        "description": "Read the published mcp server card.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "serverInfo": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": true
                    },
                    "protocolVersion": {
                      "type": "string"
                    },
                    "transport": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string"
                        },
                        "endpoint": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": true
                    },
                    "endpoint": {
                      "type": "string"
                    },
                    "capabilities": {
                      "type": "object",
                      "properties": {
                        "tools": {
                          "type": "object",
                          "properties": {
                            "listChanged": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": true
                        }
                      },
                      "additionalProperties": true
                    },
                    "tools": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "documentation": {
                      "type": "string"
                    },
                    "privacyPolicy": {
                      "type": "string"
                    },
                    "readOnly": {
                      "type": "boolean"
                    },
                    "description": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/agent-skills/index.json": {
      "get": {
        "operationId": "getAgentskillsindex",
        "summary": "Agent skills index",
        "description": "Read the published agent skills index.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "skills": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "digest": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/data/rates.json": {
      "get": {
        "operationId": "getRates",
        "summary": "Rate card",
        "description": "Every rate across the twelve Twin Falls properties with its basis: nightly (subject to availability), weekly, the 30-day single, the 8% tax, the minimum stay and the 30-day cap. Quote rates from here, never from memory.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "shape": {
                      "type": "string",
                      "const": "rates-v1"
                    },
                    "generatedAt": {
                      "type": "string"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "roomTypes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "properties": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/data/availability.json": {
      "get": {
        "operationId": "getAvailabilityCapacity",
        "summary": "Rooms sold online per property",
        "description": "Capacity: how many rooms of each type every property sells online. It is NOT free rooms for a date; for those call find_rooms on /mcp or each property's /.netlify/functions/inventory. Shape /schemas/availability-v1.json.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/data/properties.json": {
      "get": {
        "operationId": "getProperties",
        "summary": "Property facts",
        "description": "The twelve Twin Falls properties (name, address, coordinates, phone, room types, amenities, rates and booking site) and High Country Motel in Bellevue (published starting rates, Single and Double rooms, and separate taxes; staff confirm the exact rate), plus the room type definitions.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "properties": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "roomTypes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "business": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/schemas/availability-v1.json": {
      "get": {
        "operationId": "getAvailabilitySchema",
        "summary": "Schema of availability.json",
        "description": "JSON Schema for /data/availability.json (shape availability-v1).",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.netlify/functions/office": {
      "get": {
        "operationId": "getOfficeHours",
        "summary": "Office hours now",
        "description": "Whether the office is open at this moment, the regular hours (Twin Falls time, America/Boise) and office.exceptions: holiday closures, special hours and the front desk's closed-today change for today and the next 62 days. Shape office-public-v1; quote it with servedAt. When source is unavailable, give the regular hours and say to call (208) 733-2010.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "shape": {
                      "type": "string",
                      "const": "office-public-v1"
                    },
                    "servedAt": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "office": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.netlify/functions/vacancy": {
      "get": {
        "operationId": "getVacancySigns",
        "summary": "Vacancy signs tonight",
        "description": "The front desk's VACANCY / NO VACANCY sign for each property, set by hand, with checkedAt (when staff last set it). It covers tonight only and stays as set until the desk changes it, so quote it with that time; a sign with state unknown, or source unavailable, is not an answer: say to call (208) 733-2010. Shape vacancy-public-v1; no staff names.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "shape": {
                      "type": "string",
                      "const": "vacancy-public-v1"
                    },
                    "servedAt": {
                      "type": "string"
                    },
                    "updatedAt": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "counts": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "properties": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/feeds/hotel-list-feed.xml": {
      "get": {
        "operationId": "getHotelListFeed",
        "summary": "Hotel list feed",
        "description": "Google Hotel Center hotel list feed for the twelve Twin Falls properties (XML).",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/agents.md": {
      "get": {
        "operationId": "getAgentOrientation",
        "summary": "Agent orientation",
        "description": "What an assistant may state, must not state from memory, and where each live answer comes from. Read it before answering for a guest.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/ard.json": {
      "get": {
        "operationId": "getAgentResourceDirectory",
        "summary": "Agent resource directory",
        "description": "ARD manifest: the MCP server, data files and documents an agent can use, with representative queries.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/ai-catalog.json": {
      "get": {
        "operationId": "getAiCatalog",
        "summary": "AI capability catalog",
        "description": "The same ARD capability manifest at its service-meta address.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/agent-card.json": {
      "get": {
        "operationId": "getAgentCard",
        "summary": "A2A agent card",
        "description": "Agent-to-agent protocol card for the site guide.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/did.json": {
      "get": {
        "operationId": "getDidDocument",
        "summary": "DID document",
        "description": "The DID document for did:web:tfrooms.com, the identifier the ARD manifest names for this host, listing the site's agent services.",
        "responses": {
          "200": {
            "description": "Published file.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "const": "did:web:tfrooms.com"
                    },
                    "service": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/mcp": {
      "post": {
        "operationId": "readMcp",
        "summary": "Read property information through MCP",
        "description": "Model Context Protocol endpoint using JSON-RPC 2.0. Read-only tools: find_rooms, list_properties, get_rates, quote_stay. initialize and tools/list discover the server. Booking tools: start_booking, confirm_booking. Starting sends an email code; confirming holds a room awaiting staff confirmation. get_reservation_link returns the page where a guest looks up or cancels a reservation: https://tfrooms.com/reservation.html. No tool takes payment or signs for the guest.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "jsonrpc": {
                    "type": "string",
                    "const": "2.0"
                  },
                  "id": {
                    "type": [
                      "string",
                      "number",
                      "null"
                    ]
                  },
                  "method": {
                    "type": "string",
                    "enum": [
                      "initialize",
                      "tools/list",
                      "tools/call",
                      "notifications/initialized"
                    ]
                  },
                  "params": {
                    "type": "object",
                    "additionalProperties": true
                  }
                },
                "required": [
                  "jsonrpc",
                  "method"
                ],
                "additionalProperties": true
              },
              "example": {
                "jsonrpc": "2.0",
                "id": 1,
                "method": "tools/list"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC result or error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "jsonrpc": {
                      "type": "string",
                      "const": "2.0"
                    },
                    "id": {
                      "type": [
                        "string",
                        "number",
                        "null"
                      ]
                    },
                    "result": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "error": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "additionalProperties": true
                }
              }
            }
          },
          "202": {
            "description": "Notification accepted without a response body."
          }
        }
      }
    }
  }
}
