Guestit

Search, price and compare Guestit's managed stays in Sweden. Continue booking on guestit.se.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
86%
이름 품질
85%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~6,784토큰 (도구 정의)
~18.6 KB일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 5.30%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "core-mcp": {
      "url": "https://core.guestit.se/mcp"
    }
  }
}

원격 엔드포인트

https://core.guestit.se/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (4)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢resolve_destination(query, locale)

Find the Guestit destination for a place name before searching stays. Pass the place alone, such as Åre or Stockholm. Returns only places with Guestit stays, at most one. When nothing matches, ask the user about a larger place nearby.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120,
      "pattern": "\\S.*\\S"
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "sv"
      ],
      "default": "en"
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "view": {
      "type": "string",
      "enum": [
        "destinations",
        "search",
        "details",
        "compare"
      ]
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "sv"
      ],
      "default": "en"
    },
    "calculated_at": {
      "type": "string"
    },
    "requested_stay": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "start_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "end_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "num_guests": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          "required": [
            "start_date",
            "end_date",
            "num_guests"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "destinations": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "location_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "location_id",
          "slug",
          "name",
          "country_code",
          "type"
        ],
        "additionalProperties": false
      }
    },
    "stays": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "found",
              "not_found"
            ]
          },
          "listing_slug": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "website_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_score": {
            "type": [
              "number",
              "null"
            ]
          },
          "num_reviews": {
            "type": [
              "integer",
              "null"
            ]
          },
          "cancellation_policy": {
            "type": [
              "string",
              "null"
            ]
          },
          "house_rules": {
            "type": [
              "string",
              "null"
            ]
          },
          "occupancy": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "num_guests": {
                    "type": "integer"
                  },
                  "num_bedrooms": {
                    "type": "integer"
                  },
                  "num_beds": {
                    "type": "integer"
                  },
                  "pets_allowed": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "num_guests",
                  "num_bedrooms",
                  "num_beds",
                  "pets_allowed"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "images": {
            "type": "array",
            "maxItems": 4,
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "alt_text": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "url",
                "alt_text"
              ],
              "additionalProperties": false
            }
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "price": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "estimated",
                  "unavailable",
                  "dates_required"
                ]
              },
              "currency": {
                "type": "string",
                "enum": [
                  "SEK"
                ]
              },
              "total_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "night",
                  "month",
                  null
                ]
              },
              "unit_price_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "cleaning_fee_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "guest_fees": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "amount_minor": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "name",
                    "amount_minor"
                  ],
                  "additionalProperties": false
                }
              },
              "payment_schedule": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "payment_date": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "from": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "to": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "amount_minor": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "payment_date",
                    "from",
                    "to",
                    "amount_minor"
                  ],
                  "additionalProperties": false
                }
              },
              "inventory_held": {
                "const": false
              },
              "start_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "end_date": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "status",
              "currency",
              "total_minor",
              "unit",
              "unit_price_minor",
              "cleaning_fee_minor",
              "guest_fees",
              "payment_schedule",
              "inventory_held",
              "start_date",
              "end_date"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "status",
          "listing_slug",
          "name",
          "summary",
          "website_url",
          "rating_score",
          "num_reviews",
          "occupancy",
          "images",
          "amenities",
          "price"
        ],
        "additionalProperties": false
      }
    },
    "pagination": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "page": {
              "type": "integer"
            },
            "total_pages": {
              "type": "integer"
            },
            "total_count": {
              "type": "integer",
              "description": "Indexed match count. May exceed currently public or bookable results; not a fresh inventory count."
            }
          },
          "required": [
            "page",
            "total_pages",
            "total_count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "applied_filters": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "num_guests": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "start_date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
            },
            "end_date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
            },
            "locale": {
              "type": "string",
              "enum": [
                "en",
                "sv"
              ],
              "default": "en"
            },
            "location_id": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "maxLength": 20
            },
            "with_pets": {
              "type": "boolean",
              "default": false
            },
            "min_bedrooms": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "nightly_rate_min": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "Minimum indexed average nightly rate in SEK. This is not an all-in stay total."
            },
            "nightly_rate_max": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "Maximum indexed average nightly rate in SEK. The final stay total includes the applicable fees."
            },
            "sort": {
              "type": "string",
              "enum": [
                "relevance",
                "price_asc",
                "price_desc"
              ],
              "default": "relevance"
            },
            "page": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 1
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10,
              "default": 5
            }
          },
          "required": [
            "location_id",
            "num_guests"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "view",
    "locale",
    "calculated_at",
    "requested_stay",
    "destinations",
    "stays",
    "pagination",
    "applied_filters"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢search_stays(num_guests, start_date, end_date, locale, location_id, ...)

Search public Guestit accommodation using a location_id from resolve_destination. Refine by resending the full filter set. Each stay is a short card; read house rules and the cancellation policy with stay_details or compare_stays before recommending one. Prices are estimates for the supplied dates and guests, with no inventory hold. Stays that fail the live check for those dates are left out, so a page can hold fewer than its limit. Nightly-rate filters use indexed average rates in SEK, not final stay totals. Pagination counts reflect the search index; current public rows may be fewer. Complete booking on the returned Guestit website link, which opens with the dates and guests filled in.

입력 스키마

{
  "type": "object",
  "properties": {
    "num_guests": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
    },
    "end_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "sv"
      ],
      "default": "en"
    },
    "location_id": {
      "type": "string",
      "pattern": "^[0-9]+$",
      "maxLength": 20
    },
    "with_pets": {
      "type": "boolean",
      "default": false
    },
    "min_bedrooms": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "nightly_rate_min": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000,
      "description": "Minimum indexed average nightly rate in SEK. This is not an all-in stay total."
    },
    "nightly_rate_max": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000,
      "description": "Maximum indexed average nightly rate in SEK. The final stay total includes the applicable fees."
    },
    "sort": {
      "type": "string",
      "enum": [
        "relevance",
        "price_asc",
        "price_desc"
      ],
      "default": "relevance"
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 1
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 5
    }
  },
  "required": [
    "location_id",
    "num_guests"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "view": {
      "type": "string",
      "enum": [
        "destinations",
        "search",
        "details",
        "compare"
      ]
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "sv"
      ],
      "default": "en"
    },
    "calculated_at": {
      "type": "string"
    },
    "requested_stay": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "start_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "end_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "num_guests": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          "required": [
            "start_date",
            "end_date",
            "num_guests"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "destinations": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "location_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "location_id",
          "slug",
          "name",
          "country_code",
          "type"
        ],
        "additionalProperties": false
      }
    },
    "stays": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "found",
              "not_found"
            ]
          },
          "listing_slug": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "website_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_score": {
            "type": [
              "number",
              "null"
            ]
          },
          "num_reviews": {
            "type": [
              "integer",
              "null"
            ]
          },
          "cancellation_policy": {
            "type": [
              "string",
              "null"
            ]
          },
          "house_rules": {
            "type": [
              "string",
              "null"
            ]
          },
          "occupancy": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "num_guests": {
                    "type": "integer"
                  },
                  "num_bedrooms": {
                    "type": "integer"
                  },
                  "num_beds": {
                    "type": "integer"
                  },
                  "pets_allowed": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "num_guests",
                  "num_bedrooms",
                  "num_beds",
                  "pets_allowed"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "images": {
            "type": "array",
            "maxItems": 4,
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "alt_text": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "url",
                "alt_text"
              ],
              "additionalProperties": false
            }
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "price": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "estimated",
                  "unavailable",
                  "dates_required"
                ]
              },
              "currency": {
                "type": "string",
                "enum": [
                  "SEK"
                ]
              },
              "total_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "night",
                  "month",
                  null
                ]
              },
              "unit_price_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "cleaning_fee_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "guest_fees": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "amount_minor": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "name",
                    "amount_minor"
                  ],
                  "additionalProperties": false
                }
              },
              "payment_schedule": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "payment_date": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "from": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "to": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "amount_minor": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "payment_date",
                    "from",
                    "to",
                    "amount_minor"
                  ],
                  "additionalProperties": false
                }
              },
              "inventory_held": {
                "const": false
              },
              "start_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "end_date": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "status",
              "currency",
              "total_minor",
              "unit",
              "unit_price_minor",
              "cleaning_fee_minor",
              "guest_fees",
              "payment_schedule",
              "inventory_held",
              "start_date",
              "end_date"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "status",
          "listing_slug",
          "name",
          "summary",
          "website_url",
          "rating_score",
          "num_reviews",
          "occupancy",
          "images",
          "amenities",
          "price"
        ],
        "additionalProperties": false
      }
    },
    "pagination": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "page": {
              "type": "integer"
            },
            "total_pages": {
              "type": "integer"
            },
            "total_count": {
              "type": "integer",
              "description": "Indexed match count. May exceed currently public or bookable results; not a fresh inventory count."
            }
          },
          "required": [
            "page",
            "total_pages",
            "total_count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "applied_filters": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "num_guests": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "start_date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
            },
            "end_date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
            },
            "locale": {
              "type": "string",
              "enum": [
                "en",
                "sv"
              ],
              "default": "en"
            },
            "location_id": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "maxLength": 20
            },
            "with_pets": {
              "type": "boolean",
              "default": false
            },
            "min_bedrooms": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "nightly_rate_min": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "Minimum indexed average nightly rate in SEK. This is not an all-in stay total."
            },
            "nightly_rate_max": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "Maximum indexed average nightly rate in SEK. The final stay total includes the applicable fees."
            },
            "sort": {
              "type": "string",
              "enum": [
                "relevance",
                "price_asc",
                "price_desc"
              ],
              "default": "relevance"
            },
            "page": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 1
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10,
              "default": 5
            }
          },
          "required": [
            "location_id",
            "num_guests"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "view",
    "locale",
    "calculated_at",
    "requested_stay",
    "destinations",
    "stays",
    "pagination",
    "applied_filters"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢stay_details(num_guests, start_date, end_date, locale, listing_slug)

Read a public Guestit listing, house rules, cancellation policy and dated price estimate. Supply both dates and the guest count for an estimate. Fees shown are already included in the total. This does not reserve inventory or take payment. Open website_url to continue on Guestit; it opens with the dates and guests filled in.

입력 스키마

{
  "type": "object",
  "properties": {
    "num_guests": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
    },
    "end_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "sv"
      ],
      "default": "en"
    },
    "listing_slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "listing_slug",
    "num_guests"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "view": {
      "type": "string",
      "enum": [
        "destinations",
        "search",
        "details",
        "compare"
      ]
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "sv"
      ],
      "default": "en"
    },
    "calculated_at": {
      "type": "string"
    },
    "requested_stay": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "start_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "end_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "num_guests": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          "required": [
            "start_date",
            "end_date",
            "num_guests"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "destinations": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "location_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "location_id",
          "slug",
          "name",
          "country_code",
          "type"
        ],
        "additionalProperties": false
      }
    },
    "stays": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "found",
              "not_found"
            ]
          },
          "listing_slug": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "website_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_score": {
            "type": [
              "number",
              "null"
            ]
          },
          "num_reviews": {
            "type": [
              "integer",
              "null"
            ]
          },
          "cancellation_policy": {
            "type": [
              "string",
              "null"
            ]
          },
          "house_rules": {
            "type": [
              "string",
              "null"
            ]
          },
          "occupancy": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "num_guests": {
                    "type": "integer"
                  },
                  "num_bedrooms": {
                    "type": "integer"
                  },
                  "num_beds": {
                    "type": "integer"
                  },
                  "pets_allowed": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "num_guests",
                  "num_bedrooms",
                  "num_beds",
                  "pets_allowed"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "images": {
            "type": "array",
            "maxItems": 4,
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "alt_text": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "url",
                "alt_text"
              ],
              "additionalProperties": false
            }
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "price": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "estimated",
                  "unavailable",
                  "dates_required"
                ]
              },
              "currency": {
                "type": "string",
                "enum": [
                  "SEK"
                ]
              },
              "total_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "night",
                  "month",
                  null
                ]
              },
              "unit_price_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "cleaning_fee_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "guest_fees": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "amount_minor": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "name",
                    "amount_minor"
                  ],
                  "additionalProperties": false
                }
              },
              "payment_schedule": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "payment_date": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "from": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "to": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "amount_minor": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "payment_date",
                    "from",
                    "to",
                    "amount_minor"
                  ],
                  "additionalProperties": false
                }
              },
              "inventory_held": {
                "const": false
              },
              "start_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "end_date": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "status",
              "currency",
              "total_minor",
              "unit",
              "unit_price_minor",
              "cleaning_fee_minor",
              "guest_fees",
              "payment_schedule",
              "inventory_held",
              "start_date",
              "end_date"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "status",
          "listing_slug",
          "name",
          "summary",
          "website_url",
          "rating_score",
          "num_reviews",
          "occupancy",
          "images",
          "amenities",
          "price"
        ],
        "additionalProperties": false
      }
    },
    "pagination": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "page": {
              "type": "integer"
            },
            "total_pages": {
              "type": "integer"
            },
            "total_count": {
              "type": "integer",
              "description": "Indexed match count. May exceed currently public or bookable results; not a fresh inventory count."
            }
          },
          "required": [
            "page",
            "total_pages",
            "total_count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "applied_filters": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "num_guests": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "start_date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
            },
            "end_date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
            },
            "locale": {
              "type": "string",
              "enum": [
                "en",
                "sv"
              ],
              "default": "en"
            },
            "location_id": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "maxLength": 20
            },
            "with_pets": {
              "type": "boolean",
              "default": false
            },
            "min_bedrooms": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "nightly_rate_min": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "Minimum indexed average nightly rate in SEK. This is not an all-in stay total."
            },
            "nightly_rate_max": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "Maximum indexed average nightly rate in SEK. The final stay total includes the applicable fees."
            },
            "sort": {
              "type": "string",
              "enum": [
                "relevance",
                "price_asc",
                "price_desc"
              ],
              "default": "relevance"
            },
            "page": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 1
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10,
              "default": 5
            }
          },
          "required": [
            "location_id",
            "num_guests"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "view",
    "locale",
    "calculated_at",
    "requested_stay",
    "destinations",
    "stays",
    "pagination",
    "applied_filters"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢compare_stays(num_guests, start_date, end_date, locale, listing_slugs)

Compare two to four distinct Guestit listings for the same dates and number of guests. Retains missing or unavailable listings. Prices include applicable fees and do not hold inventory or confirm a booking.

입력 스키마

{
  "type": "object",
  "properties": {
    "num_guests": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
    },
    "end_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "sv"
      ],
      "default": "en"
    },
    "listing_slugs": {
      "type": "array",
      "minItems": 2,
      "maxItems": 4,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    }
  },
  "required": [
    "listing_slugs",
    "num_guests",
    "start_date",
    "end_date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "view": {
      "type": "string",
      "enum": [
        "destinations",
        "search",
        "details",
        "compare"
      ]
    },
    "locale": {
      "type": "string",
      "enum": [
        "en",
        "sv"
      ],
      "default": "en"
    },
    "calculated_at": {
      "type": "string"
    },
    "requested_stay": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "start_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "end_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "num_guests": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          "required": [
            "start_date",
            "end_date",
            "num_guests"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "destinations": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "location_id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "location_id",
          "slug",
          "name",
          "country_code",
          "type"
        ],
        "additionalProperties": false
      }
    },
    "stays": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "found",
              "not_found"
            ]
          },
          "listing_slug": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "website_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "rating_score": {
            "type": [
              "number",
              "null"
            ]
          },
          "num_reviews": {
            "type": [
              "integer",
              "null"
            ]
          },
          "cancellation_policy": {
            "type": [
              "string",
              "null"
            ]
          },
          "house_rules": {
            "type": [
              "string",
              "null"
            ]
          },
          "occupancy": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "num_guests": {
                    "type": "integer"
                  },
                  "num_bedrooms": {
                    "type": "integer"
                  },
                  "num_beds": {
                    "type": "integer"
                  },
                  "pets_allowed": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "num_guests",
                  "num_bedrooms",
                  "num_beds",
                  "pets_allowed"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "images": {
            "type": "array",
            "maxItems": 4,
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "alt_text": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "url",
                "alt_text"
              ],
              "additionalProperties": false
            }
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "price": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "estimated",
                  "unavailable",
                  "dates_required"
                ]
              },
              "currency": {
                "type": "string",
                "enum": [
                  "SEK"
                ]
              },
              "total_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "night",
                  "month",
                  null
                ]
              },
              "unit_price_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "cleaning_fee_minor": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "guest_fees": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "amount_minor": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "name",
                    "amount_minor"
                  ],
                  "additionalProperties": false
                }
              },
              "payment_schedule": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "payment_date": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "from": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "to": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
                    },
                    "amount_minor": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "payment_date",
                    "from",
                    "to",
                    "amount_minor"
                  ],
                  "additionalProperties": false
                }
              },
              "inventory_held": {
                "const": false
              },
              "start_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "end_date": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "status",
              "currency",
              "total_minor",
              "unit",
              "unit_price_minor",
              "cleaning_fee_minor",
              "guest_fees",
              "payment_schedule",
              "inventory_held",
              "start_date",
              "end_date"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "status",
          "listing_slug",
          "name",
          "summary",
          "website_url",
          "rating_score",
          "num_reviews",
          "occupancy",
          "images",
          "amenities",
          "price"
        ],
        "additionalProperties": false
      }
    },
    "pagination": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "page": {
              "type": "integer"
            },
            "total_pages": {
              "type": "integer"
            },
            "total_count": {
              "type": "integer",
              "description": "Indexed match count. May exceed currently public or bookable results; not a fresh inventory count."
            }
          },
          "required": [
            "page",
            "total_pages",
            "total_count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "applied_filters": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "num_guests": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "start_date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
            },
            "end_date": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "YYYY-MM-DD. Supply both dates. Check-in must be within 730 days and the stay cannot exceed 730 nights."
            },
            "locale": {
              "type": "string",
              "enum": [
                "en",
                "sv"
              ],
              "default": "en"
            },
            "location_id": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "maxLength": 20
            },
            "with_pets": {
              "type": "boolean",
              "default": false
            },
            "min_bedrooms": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "nightly_rate_min": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "Minimum indexed average nightly rate in SEK. This is not an all-in stay total."
            },
            "nightly_rate_max": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000,
              "description": "Maximum indexed average nightly rate in SEK. The final stay total includes the applicable fees."
            },
            "sort": {
              "type": "string",
              "enum": [
                "relevance",
                "price_asc",
                "price_desc"
              ],
              "default": "relevance"
            },
            "page": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 1
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10,
              "default": 5
            }
          },
          "required": [
            "location_id",
            "num_guests"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "view",
    "locale",
    "calculated_at",
    "requested_stay",
    "destinations",
    "stays",
    "pagination",
    "applied_filters"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 4개