Tools: calendar, prices and stay rules

Read the calendar and the pricing rules, explain a night, change prices and stay rules, block and open dates.

Overview

ToolKindWhat it does
get_calendarreadSee the calendar
explain_nightreadExplain a night
get_pricing_rulesreadSee pricing rules
get_pricing_signalsreadSee pricing signals
change_pricespreviewChange prices
change_stay_rulespreviewChange stay rules
block_datespreviewBlock dates
unblock_datespreviewOpen blocked dates
save_pricing_rulespreviewSave pricing rules

Each entry is the tool as tools/list on https://mcp.hostemi.com/mcp lists it for a workspace without preview features, generated from the server. The description is the sentence your AI reads. Examples marked recorded are real answers from a test workspace (names changed); the others are calls checked against the schema, with the shape of the answer.

get_calendar

See the calendar. Reads. Changes nothing.

A listing's nights for a period: booked (guests by first name), blocked or free, with each night's price and stay rules. Use when the host asks what is booked or free, or what nights cost. Why one night costs that or cannot be booked: explain_night.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Cardcalendar
Built oncalendar_get, availability_get, rates_get, pricing_get
ParameterTypeRequiredDescription
listingIdstringnoOmit for every listing.
fromstringnoFirst night. Default: today.
tostringnoLast night, inclusive. Default: from + 30.
platformstringno"all" (default), "website", or a platform name such as "Airbnb".
withTotalsbooleannoEach booking's total, when asked about money.
Call (recorded 2026-11-18)
{
  "name": "get_calendar",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "from": "2026-11-19",
    "to": "2026-12-16"
  }
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "Lake house, Thu 19 Nov to Wed 16 Dec 2026 (28 nights): 1 booking, 0 blocks, 25 of 28 nights free.",
  "data": {
    "from": "2026-11-19",
    "to": "2026-12-16",
    "nights": 28,
    "platform": "all platforms",
    "listings": [
      {
        "id": "cmwhux6y60026somfhixjmcm8",
        "name": "Lake house",
        "currency": "EUR",
        "freeNights": 25,
        "bookings": [
          {
            "id": "cmwhux70i002hsomfqyvycrsa",
            "guest": "Lena Hoffmann",
            "checkIn": "2026-12-05",
            "checkOut": "2026-12-08",
            "nights": 3,
            "status": "confirmed",
            "platform": "Added by you",
            "total": {
              "amount": "360.00",
              "currency": "EUR",
              "display": "€360.00"
            }
          }
        ],
        "blocked": [],
        "free": [
          {
            "from": "2026-11-19",
            "to": "2026-12-04",
            "nights": 16
          },
          {
            "from": "2026-12-08",
            "to": "2026-12-16",
            "nights": 9
          }
        ],
        "prices": [
          {
            "from": "2026-11-19",
            "to": "2026-12-16",
            "nights": 28,
            "price": "€121.00",
            "minNights": 1
          }
        ]
      }
    ]
  }
}

Errors it raises itself: INVALID_DATE, LISTING_REQUIRED, NO_LISTING, RANGE_TOO_LONG. Every tool can also answer the shared errors.

explain_night

Explain a night. Reads. Changes nothing.

Why one night of a listing costs what it does (base, weekend, season, set by hand, a platform's markup) and, if it cannot be booked, why (booked, blocked, closed, stay rules, booking window), per platform. Use when the host asks why a night has its price or nobody can book it.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Built onpricing_explain
ParameterTypeRequiredDescription
listingIdstringnoFrom get_context.
datestringyesThe night, YYYY-MM-DD.
guestsintegernoWhat this many guests pay on the website.
Call (recorded 2026-11-18)
{
  "name": "explain_night",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "date": "2026-12-02"
  }
}
Answer (summary, change and next step as recorded)
{
  "ok": true,
  "summary": "Lake house, Wed 2 Dec 2026: €121.00 a night (Your base price, €121). Guests can book it."
}

Errors it raises itself: none of its own. Every tool can also answer the shared errors.

get_pricing_rules

See pricing rules. Reads. Changes nothing.

A listing's standing price rules: base and weekend price, the lowest price, stay rules, seasons, discounts, fees, taxes, price options and each platform's own settings. Use when the host asks how a listing is priced, and before save_pricing_rules. Single nights' prices: get_calendar.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Built onrules_get, seasons_list, discounts_get, fees_get, taxes_get, channel_settings_get, rate_plans_list, compare_get, units_get_listing_settings, channels_listing_get
ParameterTypeRequiredDescription
listingIdstringnoFrom get_context.
Call (recorded 2026-11-19)
{
  "name": "get_pricing_rules",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8"
  }
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "Lake house: base price €120.00 a night, minimum stay 1 night, 0 seasons, 0 fees, 0 taxes.",
  "data": {
    "listing": {
      "id": "cmwhux6y60026somfhixjmcm8",
      "name": "Lake house"
    },
    "basePrice": {
      "amount": "120.00",
      "currency": "EUR",
      "display": "€120.00"
    },
    "weekendPrice": null,
    "limits": {
      "lowestPrice": null
    },
    "stay": {
      "minNights": 1,
      "maxNights": 0,
      "guestsIncluded": 1
    },
    "seasons": [],
    "discounts": {
      "lengthOfStay": [],
      "earlyBird": null,
      "lastMinute": null
    },
    "fees": [],
    "taxes": [],
    "platforms": []
  },
  "next": [
    {
      "tool": "get_pricing_signals",
      "args": {
        "listingId": "cmwhux6y60026somfhixjmcm8"
      },
      "why": "For advice on what to charge: read get_pricing_signals for the period (nights sold and free, what sold in the last 7 and 28 days, last year at the same point, how early guests book, the host's lowest price), look up holidays and events on the web with links (never guess, never read prices off booking platforms), ask for the lowest acceptable price if no limit is set, then propose at most five changes of 5 to 15 percent that earn more per available night, inside the limits. A figure marked \"unclear\" is no evidence."
    }
  ]
}

Errors it raises itself: none of its own. Every tool can also answer the shared errors.

get_pricing_signals

See pricing signals. Reads. Changes nothing.

The numbers behind price advice for one listing and period, from the host's own bookings: nights sold and free per week, recent pace, last year at this point, how early guests book, gaps, the lowest price. Use when the host asks whether prices are right or what to charge.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Built onpricing_signals
ParameterTypeRequiredDescription
listingIdstringnoFrom get_context.
fromstringnoFirst night. Default: today.
tostringnoLast night. Default: from + 89; 184 at most.
detailenumno"nights": per night, 31 at most. One of: weeks, nights.
Call (recorded 2026-11-19)
{
  "name": "get_pricing_signals",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "from": "2027-07-01",
    "to": "2027-08-31"
  }
}
Answer (structuredContent, long lists shortened)
{
  "ok": true,
  "summary": "Lake house, Thu 1 Jul to Tue 31 Aug 2027 (62 nights): 0 of 62 nights sold (0%), 62 free; 0 sold in the last 7 days and 0 in the last 28. The same weeks last year ended at 0 sold, 0 of them booked by this point. Few bookings behind these numbers (unclear).",
  "data": {
    "listing": {
      "id": "cmwhux6y60026somfhixjmcm8",
      "name": "Lake house",
      "town": "Hallstatt",
      "country": "AT",
      "type": "apartment",
      "sleeps": 4,
      "bedrooms": null
    },
    "period": {
      "today": "2026-11-19",
      "from": "2027-07-01",
      "to": "2027-08-31",
      "nights": 62,
      "currency": "EUR"
    },
    "setup": {
      "basePrice": {
        "amount": "120.00",
        "currency": "EUR",
        "display": "€120.00"
      },
      "weekendPrice": null,
      "minNights": 1,
      "cleaningFee": null,
      "lowestPrice": null
    },
    "totals": {
      "forSale": 62,
      "sold": 0,
      "free": 62,
      "soldPercent": 0,
      "soldLast7": 0,
      "soldLast28": 0,
      "lastYear": {
        "sold": 0,
        "soldByNow": 0
      },
      "confidence": "unclear"
    },
    "periods": [
      {
        "from": "2027-07-01",
        "to": "2027-07-04",
        "daysOut": 224,
        "sold": 0,
        "free": 4,
        "weekendSold": 0,
        "weekendFree": 2,
        "price": "€120 to €153",
        "soldLast7": 0,
        "soldLast28": 0,
        "lastYear": {
          "sold": 0,
          "soldByNow": 0
        },
        "confidence": "unclear"
      },
      {
        "from": "2027-07-05",
        "to": "2027-07-11",
        "daysOut": 228,
        "sold": 0,
        "free": 7,
        "weekendSold": 0,
        "weekendFree": 2,
        "price": "€120",
        "soldLast7": 0,
        "soldLast28": 0,
        "lastYear": {
          "sold": 0,
          "soldByNow": 0
        },
        "confidence": "unclear"
      },
      "… 8 more"
    ],
    "bookingCurve": {
      "percentSoldByDaysOut": {
        "3": 0,
        "7": 0,
        "14": 0,
        "21": 0,
        "30": 0,
        "45": 0,
        "60": 0,
        "90": 0
      },
      "medianDaysOut": null,
      "basedOnNights": 0,
      "basedOnBookings": 0,
      "confidence": "unclear"
    },
    "weekdays": [
      {
        "day": "Mon",
        "soldPercent": 0
      },
      {
        "day": "Tue",
        "soldPercent": 0
      },
      "… 5 more"
    ],
    "weekdaysConfidence": "unclear",
    "stays": {
      "bookings": 0,
      "averageNights": null,
      "oneNightPercent": null,
      "averageGuests": null,
      "confidence": "unclear"
    },
    "platforms": [],
    "gaps": [],
    "priceChanges": [
      {
        "appliedOn": "2026-11-18",
        "from": "2027-08-05",
        "to": "2027-08-05",
        "before": "€152",
        "after": "€153",
        "soldInThe14DaysBefore": 0,
        "soldInThe14DaysAfter": 0,
        "daysSince": 1
      },
      {
        "appliedOn": "2026-11-18",
        "from": "2027-08-05",
        "to": "2027-08-05",
        "before": "€151",
        "after": "€152",
        "soldInThe14DaysBefore": 0,
        "soldInThe14DaysAfter": 0,
        "daysSince": 1
      },
      "… 3 more"
    ],
    "property": null,
    "quality": {
      "historyMonths": 0,
      "bookedOnKnownPercent": 100,
      "notes": [
        "Prices are per night, without cleaning fees and taxes. A row has minNights only where it differs from setup. weekendSold and weekendFree are the Friday and Saturday nights. Last year is the same weekdays 52 weeks earlier. confidence \"unclear\": under 3 bookings behind the figure; \"low\": under 10.",
        "Under three bookings in the last 12 months: the booking curve, the weekdays and the stay figures say nothing yet."
      ]
    },
    "method": "Next: look up holidays and events on the web with links (never guess, never read prices off booking platforms), ask for the lowest acceptable price if no limit is set, then propose at most five changes of 5 to 15 percent that earn more per available night, inside the limits. A figure marked \"unclear\" is no evidence."
  }
}

Errors it raises itself: none of its own. Every tool can also answer the shared errors.

change_prices

Change prices. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Changes nightly prices for chosen dates: a new price, or a move by a percent or an amount, optionally on some weekdays, one platform or one price option. Use when the host asks to change what some nights cost ("raise August weekends by 10%"). The base price and other standing rules: save_pricing_rules. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal; risky over 25%
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onrates_set, rates_adjust, pricing_bulk
ParameterTypeRequiredDescription
listingIdsstring[]noListing ids, all of one place (get_context).
fromstringyesFirst night, YYYY-MM-DD.
tostringyesLast night, YYYY-MM-DD, inclusive.
weekdaysinteger[]no1 = Mon … 7 = Sun; weekend [5,6].
setobjectnoThe new price per night.
set.amountstringyes"135.00"
set.currencystringyes"EUR"
changeByPercentnumberno10 or -15.
changeByAmountobjectnoPer night; negative lowers it.
changeByAmount.amountstringyes"135.00"
changeByAmount.currencystringyes"EUR"
resetbooleannoBack to the base or season price.
notBelowobjectnoWith a move: the lowest price a night may get.
notBelow.amountstringyes"135.00"
notBelow.currencystringyes"EUR"
priceOptionstringnoA price option id from get_pricing_rules; default: the standard price.
platformstringno"all" (default), "website", or a platform name such as "Airbnb".
Call (recorded 2026-11-18)
{
  "name": "change_prices",
  "arguments": {
    "listingIds": [
      "cmwhux6y60026somfhixjmcm8"
    ],
    "from": "2026-12-28",
    "to": "2026-12-29",
    "set": {
      "amount": "135.00",
      "currency": "EUR"
    }
  }
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "Preview, nothing has changed yet. Lake house: price for Mon 28 to Tue 29 Dec 2026 (2 nights), €121 → €135 a night, on all platforms.",
  "data": {
    "listings": [
      {
        "id": "cmwhux6y60026somfhixjmcm8",
        "name": "Lake house"
      }
    ],
    "platform": "all platforms",
    "changes": [
      {
        "listing": {
          "id": "cmwhux6y60026somfhixjmcm8",
          "name": "Lake house"
        },
        "what": "price",
        "from": "2026-12-28",
        "to": "2026-12-29",
        "nights": 2,
        "before": {
          "amount": "121.00",
          "currency": "EUR",
          "display": "€121.00"
        },
        "after": {
          "amount": "135.00",
          "currency": "EUR",
          "display": "€135.00"
        }
      }
    ],
    "warnings": []
  },
  "change": {
    "id": "chg_pc_cmwmofv0l007zsoershxgqwky",
    "state": "preview",
    "risk": "NORMAL",
    "expiresAt": "2026-11-19T22:12:31.548Z",
    "before": "€121",
    "after": "€135",
    "nights": 2
  },
  "next": [
    {
      "tool": "apply_change",
      "args": {
        "changeId": "chg_pc_cmwmofv0l007zsoershxgqwky"
      },
      "why": "Makes this change real, once the host said yes. The host may be asked to approve it in Hostemi."
    }
  ]
}

Errors it raises itself: INVALID_INPUT, ONE_CHANGE, ONE_LISTING, PRICE_OPTION_NOT_FOUND. Every tool can also answer the shared errors.

change_stay_rules

Change stay rules. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Changes stay rules for chosen dates: minimum or maximum nights, whether guests may arrive or leave, or stopping and reopening sales, optionally on one platform. Use when the host asks for a minimum stay or to stop selling dates on a platform. Closing nights because the place is in use: block_dates. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal; risky when closing 14+ nights
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onrestrictions_set
ParameterTypeRequiredDescription
listingIdsstring[]noListing ids, all of one place (get_context).
fromstringyesFirst night, YYYY-MM-DD.
tostringyesLast night, YYYY-MM-DD, inclusive.
weekdaysinteger[]no1 = Mon … 7 = Sun; weekend [5,6].
minNightsinteger | nullnoMinimum stay; null = the usual rule.
maxNightsinteger | nullno0 = none; null = the usual rule.
arrivalsboolean | nullnofalse: no check-in on these days.
departuresboolean | nullnofalse: no check-out on these days.
saleenumnoStop or open the sale. One of: stop, open.
platformstringno"all" (default), "website", or a platform name such as "Airbnb".
Example call
{
  "name": "change_stay_rules",
  "arguments": {
    "listingIds": [
      "cmwhux6y60026somfhixjmcm8"
    ],
    "from": "2027-04-02",
    "to": "2027-04-05",
    "minNights": 3
  }
}
Answer shape
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "listings": "array",
    "platform": "string",
    "changes": "array",
    "warnings": "array"
  },
  "change": {
    "id": "chg_…",
    "state": "preview",
    "risk": "NORMAL | RISKY",
    "expiresAt": "ISO time"
  },
  "next": [
    {
      "tool": "a tool name",
      "args": {},
      "why": "Why this is the next step."
    }
  ]
}

Errors it raises itself: NOTHING_TO_CHANGE. Every tool can also answer the shared errors.

block_dates

Block dates. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Closes nights on a listing because the place is in use (an owner stay, repairs, cleaning), on every platform it is sold on, or changes a block. Use when the host says the place is not available on some dates. Stopping sales on one platform only: change_stay_rules. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal; risky 14+ nights or an owner stay
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built oncalendar_block, calendar_block_update
ParameterTypeRequiredDescription
listingIdstringnoFrom get_context.
fromstringnoFirst night to close, YYYY-MM-DD.
tostringnoLast night, inclusive: 8 to 9 Dec is 2 nights.
reasonenumnoDefault: maintenance. One of: owner_stay, maintenance.
notestringnoA short note the host sees on the block.
blockIdstringnoChange this block instead.
roomsintegernoOf identical rooms, how many. Default 1.
Call (recorded 2026-11-18)
{
  "name": "block_dates",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "from": "2027-12-08",
    "to": "2027-12-09",
    "reason": "maintenance",
    "note": "boiler service"
  }
}
Answer (summary, change and next step as recorded)
{
  "ok": true,
  "summary": "Preview, nothing has changed yet. Lake house: block Wed 8 to Thu 9 Dec 2027 (2 nights), boiler service. Closes those nights.",
  "change": {
    "id": "chg_cmwmoi1wo0089soerm2bpw16z",
    "state": "preview",
    "before": "open",
    "after": "blocked",
    "nights": 2,
    "risk": "NORMAL",
    "expiresAt": "2026-11-19T22:14:13.800Z"
  },
  "next": [
    {
      "tool": "apply_change"
    }
  ]
}

Errors it raises itself: DATES_REQUIRED, INVALID_DATE, INVALID_INPUT. Every tool can also answer the shared errors.

unblock_dates

Open blocked dates. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Removes a block so its nights can be booked again. Use when the host asks to open nights they blocked; an owner stay is removed only when the host names it. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal; risky for an owner stay
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built oncalendar_unblock
ParameterTypeRequiredDescription
blockIdstringyesFrom get_calendar blocked[].blockId.
Example call
{
  "name": "unblock_dates",
  "arguments": {
    "blockId": "cmwmoi1wo0089soerm2bpw16z"
  }
}
Answer shape
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "blockId": "string"
  },
  "change": {
    "id": "chg_…",
    "state": "preview",
    "risk": "NORMAL | RISKY",
    "expiresAt": "ISO time"
  },
  "next": [
    {
      "tool": "a tool name",
      "args": {},
      "why": "Why this is the next step."
    }
  ]
}

Errors it raises itself: none of its own. Every tool can also answer the shared errors.

save_pricing_rules

Save pricing rules. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Changes a listing's standing price rules, one section per call: base or weekend price, stay rules, a season, discounts, fees, taxes, a platform's markup; a list is replaced whole (see get_pricing_rules). Use when the host asks to change how a listing is priced in general. Chosen dates' prices: change_prices. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal (pricing command)
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onunits_set_base_price, units_set_listing_settings, seasons_upsert, discounts_set, fees_set, taxes_set, channel_settings_set, pricing_currency_set, non_refundable_set
ParameterTypeRequiredDescription
listingIdstringnoFrom get_context.
basePriceobjectnoA night with no other price.
basePrice.amountstringyes"135.00"
basePrice.currencystringyes"EUR"
standingobjectnoBase rules of the listing.
standing.weekendPriceobject | nullnoFri and Sat nights; null = the base price.
standing.weekendPrice.amountstringyes"135.00"
standing.weekendPrice.currencystringyes"EUR"
standing.lowestPriceobject | nullnoAdvice stays above it; null clears.
standing.lowestPrice.amountstringyes"135.00"
standing.lowestPrice.currencystringyes"EUR"
standing.minNightsinteger | nullnoUsual minimum stay.
standing.maxNightsinteger | nullnoUsual maximum; 0 = none.
standing.advanceNoticeHoursintegernoHours before arrival.
standing.bookableDaysAheadintegerno-1 = no limit.
standing.preparationNightsintegernoFree nights between stays.
standing.guestsIncludedintegernoGuests in the price.
standing.arrivalDaysinteger[]no1 = Mon … 7 = Sun.
standing.departureDaysinteger[]no1 = Mon … 7 = Sun.
seasonobjectnoOne season, added or replaced.
season.idstringnoA season id, to replace one.
season.namestringyes"Summer".
season.rangesobject[]yesIts dates.
season.ranges.fromstringyesFirst night, YYYY-MM-DD.
season.ranges.tostringyesLast night, inclusive.
season.everyYearbooleannoRepeat yearly.
season.weekdaysinteger[]no1 = Mon … 7 = Sun.
season.priceobjectnoPrice a night.
season.price.amountstringyes"135.00"
season.price.currencystringyes"EUR"
season.changeByPercentnumberno10 or -15.
season.minNightsinteger | nullnoMinimum stay.
season.maxNightsinteger | nullno0 = none.
season.closedbooleannoNot for sale.
discountsobjectnoDiscounts.
discounts.lengthOfStayobject[]noThe whole list.
discounts.lengthOfStay.minNightsintegeryesFrom this stay.
discounts.lengthOfStay.percentnumberyes10 = 10% off.
discounts.earlyBirdobject | nullnoBooked this early; null removes.
discounts.earlyBird.daysintegeryesDays before arrival.
discounts.earlyBird.percentnumberyes10 = 10% off.
discounts.lastMinuteobject | nullnoBooked this late; null removes.
discounts.lastMinute.daysintegeryesDays before arrival.
discounts.lastMinute.percentnumberyes10 = 10% off.
discounts.nonRefundableobject | nullnoAlone in its call.
discounts.nonRefundable.percentnumberyes10 = 10% off.
feesobject[]noThe whole list.
fees.idstringnoIts id, to keep it.
fees.kindenumyesWhat it is for. One of: cleaning, extra_guest, pet, linen, security_deposit, resort, management, utility, other.
fees.labelstringnoIts name guests see.
fees.amountobjectnoOr percent.
fees.amount.amountstringyes"135.00"
fees.amount.currencystringyes"EUR"
fees.percentnumbernoOf the stay; or amount.
fees.perenumnoDefault: stay. One of: stay, night, guest, guest_night.
fees.optionalbooleannoThe guest chooses it.
taxesobject[]noThe whole list.
taxes.idstringnoIts id, to keep it.
taxes.kindenumyesWhich tax. One of: tourist_tax, city_tax, vat, other.
taxes.percentnumberno18 = 18%; or amount.
taxes.amountobjectnoOr percent.
taxes.amount.amountstringyes"135.00"
taxes.amount.currencystringyes"EUR"
taxes.perenumnoDefault: stay. One of: stay, night, guest_night.
taxes.includedInPricebooleannoAlready in the price.
taxes.exemptUnderAgeinteger | nullnoGuests under this age pay none.
platformAdjustmentobjectnoOne platform's own settings.
platformAdjustment.platformstringyes"Booking.com".
platformAdjustment.changeByPercentnumbernoIts markup, 8 = 8% more.
platformAdjustment.changeByAmountobjectnoIts markup a night.
platformAdjustment.changeByAmount.amountstringyes"135.00"
platformAdjustment.changeByAmount.currencystringyes"EUR"
platformAdjustment.minNightsinteger | nullnoIts own; null = yours.
platformAdjustment.maxNightsinteger | nullnoIts own; null = yours.
platformAdjustment.pausedbooleannoPrices stop going there.
Preview: pricing.currencies
Only a workspace with this preview feature is listed: platformAdjustment.rounding: whole, ends_in_9, none. Everybody else does not see it, and asking for it anyway answers FEATURE_NOT_AVAILABLE before anything is stored.
Example call
{
  "name": "save_pricing_rules",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "standing": {
      "weekendPrice": {
        "amount": "145.00",
        "currency": "EUR"
      }
    }
  }
}
Answer shape
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "listing": "object",
    "section": "string",
    "changes": "array",
    "warnings": "array"
  },
  "change": {
    "id": "chg_…",
    "state": "preview",
    "risk": "NORMAL | RISKY",
    "expiresAt": "ISO time"
  },
  "next": [
    {
      "tool": "a tool name",
      "args": {},
      "why": "Why this is the next step."
    }
  ]
}

Errors it raises itself: FEATURE_NOT_AVAILABLE, INVALID_INPUT, NOTHING_TO_CHANGE, ONE_SECTION, PLATFORM_REQUIRED. Every tool can also answer the shared errors.

Something missing from this page? Write to [email protected], or use the form on the Help page.