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
| Tool | Kind | What it does |
|---|---|---|
get_calendar | read | See the calendar |
explain_night | read | Explain a night |
get_pricing_rules | read | See pricing rules |
get_pricing_signals | read | See pricing signals |
change_prices | preview | Change prices |
change_stay_rules | preview | Change stay rules |
block_dates | preview | Block dates |
unblock_dates | preview | Open blocked dates |
save_pricing_rules | preview | Save 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.
| Property | Value |
|---|---|
| Kind | read |
| Hints | readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false |
| Card | calendar |
| Built on | calendar_get, availability_get, rates_get, pricing_get |
| Parameter | Type | Required | Description |
|---|---|---|---|
listingId | string | no | Omit for every listing. |
from | string | no | First night. Default: today. |
to | string | no | Last night, inclusive. Default: from + 30. |
platform | string | no | "all" (default), "website", or a platform name such as "Airbnb". |
withTotals | boolean | no | Each booking's total, when asked about money. |
{
"name": "get_calendar",
"arguments": {
"listingId": "cmwhux6y60026somfhixjmcm8",
"from": "2026-11-19",
"to": "2026-12-16"
}
}{
"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.
| Property | Value |
|---|---|
| Kind | read |
| Hints | readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false |
| Built on | pricing_explain |
| Parameter | Type | Required | Description |
|---|---|---|---|
listingId | string | no | From get_context. |
date | string | yes | The night, YYYY-MM-DD. |
guests | integer | no | What this many guests pay on the website. |
{
"name": "explain_night",
"arguments": {
"listingId": "cmwhux6y60026somfhixjmcm8",
"date": "2026-12-02"
}
}{
"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.
| Property | Value |
|---|---|
| Kind | read |
| Hints | readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false |
| Built on | rules_get, seasons_list, discounts_get, fees_get, taxes_get, channel_settings_get, rate_plans_list, compare_get, units_get_listing_settings, channels_listing_get |
| Parameter | Type | Required | Description |
|---|---|---|---|
listingId | string | no | From get_context. |
{
"name": "get_pricing_rules",
"arguments": {
"listingId": "cmwhux6y60026somfhixjmcm8"
}
}{
"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.
| Property | Value |
|---|---|
| Kind | read |
| Hints | readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false |
| Built on | pricing_signals |
| Parameter | Type | Required | Description |
|---|---|---|---|
listingId | string | no | From get_context. |
from | string | no | First night. Default: today. |
to | string | no | Last night. Default: from + 89; 184 at most. |
detail | enum | no | "nights": per night, 31 at most. One of: weeks, nights. |
{
"name": "get_pricing_signals",
"arguments": {
"listingId": "cmwhux6y60026somfhixjmcm8",
"from": "2027-07-01",
"to": "2027-08-31"
}
}{
"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.
| Property | Value |
|---|---|
| Kind | preview |
| Approval class | normal; risky over 25% |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | change |
| Built on | rates_set, rates_adjust, pricing_bulk |
| Parameter | Type | Required | Description |
|---|---|---|---|
listingIds | string[] | no | Listing ids, all of one place (get_context). |
from | string | yes | First night, YYYY-MM-DD. |
to | string | yes | Last night, YYYY-MM-DD, inclusive. |
weekdays | integer[] | no | 1 = Mon … 7 = Sun; weekend [5,6]. |
set | object | no | The new price per night. |
set.amount | string | yes | "135.00" |
set.currency | string | yes | "EUR" |
changeByPercent | number | no | 10 or -15. |
changeByAmount | object | no | Per night; negative lowers it. |
changeByAmount.amount | string | yes | "135.00" |
changeByAmount.currency | string | yes | "EUR" |
reset | boolean | no | Back to the base or season price. |
notBelow | object | no | With a move: the lowest price a night may get. |
notBelow.amount | string | yes | "135.00" |
notBelow.currency | string | yes | "EUR" |
priceOption | string | no | A price option id from get_pricing_rules; default: the standard price. |
platform | string | no | "all" (default), "website", or a platform name such as "Airbnb". |
{
"name": "change_prices",
"arguments": {
"listingIds": [
"cmwhux6y60026somfhixjmcm8"
],
"from": "2026-12-28",
"to": "2026-12-29",
"set": {
"amount": "135.00",
"currency": "EUR"
}
}
}{
"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.
| Property | Value |
|---|---|
| Kind | preview |
| Approval class | normal; risky when closing 14+ nights |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | change |
| Built on | restrictions_set |
| Parameter | Type | Required | Description |
|---|---|---|---|
listingIds | string[] | no | Listing ids, all of one place (get_context). |
from | string | yes | First night, YYYY-MM-DD. |
to | string | yes | Last night, YYYY-MM-DD, inclusive. |
weekdays | integer[] | no | 1 = Mon … 7 = Sun; weekend [5,6]. |
minNights | integer | null | no | Minimum stay; null = the usual rule. |
maxNights | integer | null | no | 0 = none; null = the usual rule. |
arrivals | boolean | null | no | false: no check-in on these days. |
departures | boolean | null | no | false: no check-out on these days. |
sale | enum | no | Stop or open the sale. One of: stop, open. |
platform | string | no | "all" (default), "website", or a platform name such as "Airbnb". |
{
"name": "change_stay_rules",
"arguments": {
"listingIds": [
"cmwhux6y60026somfhixjmcm8"
],
"from": "2027-04-02",
"to": "2027-04-05",
"minNights": 3
}
}{
"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.
| Property | Value |
|---|---|
| Kind | preview |
| Approval class | normal; risky 14+ nights or an owner stay |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | change |
| Built on | calendar_block, calendar_block_update |
| Parameter | Type | Required | Description |
|---|---|---|---|
listingId | string | no | From get_context. |
from | string | no | First night to close, YYYY-MM-DD. |
to | string | no | Last night, inclusive: 8 to 9 Dec is 2 nights. |
reason | enum | no | Default: maintenance. One of: owner_stay, maintenance. |
note | string | no | A short note the host sees on the block. |
blockId | string | no | Change this block instead. |
rooms | integer | no | Of identical rooms, how many. Default 1. |
{
"name": "block_dates",
"arguments": {
"listingId": "cmwhux6y60026somfhixjmcm8",
"from": "2027-12-08",
"to": "2027-12-09",
"reason": "maintenance",
"note": "boiler service"
}
}{
"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.
| Property | Value |
|---|---|
| Kind | preview |
| Approval class | normal; risky for an owner stay |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | change |
| Built on | calendar_unblock |
| Parameter | Type | Required | Description |
|---|---|---|---|
blockId | string | yes | From get_calendar blocked[].blockId. |
{
"name": "unblock_dates",
"arguments": {
"blockId": "cmwmoi1wo0089soerm2bpw16z"
}
}{
"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.
| Property | Value |
|---|---|
| Kind | preview |
| Approval class | normal (pricing command) |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | change |
| Built on | units_set_base_price, units_set_listing_settings, seasons_upsert, discounts_set, fees_set, taxes_set, channel_settings_set, pricing_currency_set, non_refundable_set |
| Parameter | Type | Required | Description |
|---|---|---|---|
listingId | string | no | From get_context. |
basePrice | object | no | A night with no other price. |
basePrice.amount | string | yes | "135.00" |
basePrice.currency | string | yes | "EUR" |
standing | object | no | Base rules of the listing. |
standing.weekendPrice | object | null | no | Fri and Sat nights; null = the base price. |
standing.weekendPrice.amount | string | yes | "135.00" |
standing.weekendPrice.currency | string | yes | "EUR" |
standing.lowestPrice | object | null | no | Advice stays above it; null clears. |
standing.lowestPrice.amount | string | yes | "135.00" |
standing.lowestPrice.currency | string | yes | "EUR" |
standing.minNights | integer | null | no | Usual minimum stay. |
standing.maxNights | integer | null | no | Usual maximum; 0 = none. |
standing.advanceNoticeHours | integer | no | Hours before arrival. |
standing.bookableDaysAhead | integer | no | -1 = no limit. |
standing.preparationNights | integer | no | Free nights between stays. |
standing.guestsIncluded | integer | no | Guests in the price. |
standing.arrivalDays | integer[] | no | 1 = Mon … 7 = Sun. |
standing.departureDays | integer[] | no | 1 = Mon … 7 = Sun. |
season | object | no | One season, added or replaced. |
season.id | string | no | A season id, to replace one. |
season.name | string | yes | "Summer". |
season.ranges | object[] | yes | Its dates. |
season.ranges.from | string | yes | First night, YYYY-MM-DD. |
season.ranges.to | string | yes | Last night, inclusive. |
season.everyYear | boolean | no | Repeat yearly. |
season.weekdays | integer[] | no | 1 = Mon … 7 = Sun. |
season.price | object | no | Price a night. |
season.price.amount | string | yes | "135.00" |
season.price.currency | string | yes | "EUR" |
season.changeByPercent | number | no | 10 or -15. |
season.minNights | integer | null | no | Minimum stay. |
season.maxNights | integer | null | no | 0 = none. |
season.closed | boolean | no | Not for sale. |
discounts | object | no | Discounts. |
discounts.lengthOfStay | object[] | no | The whole list. |
discounts.lengthOfStay.minNights | integer | yes | From this stay. |
discounts.lengthOfStay.percent | number | yes | 10 = 10% off. |
discounts.earlyBird | object | null | no | Booked this early; null removes. |
discounts.earlyBird.days | integer | yes | Days before arrival. |
discounts.earlyBird.percent | number | yes | 10 = 10% off. |
discounts.lastMinute | object | null | no | Booked this late; null removes. |
discounts.lastMinute.days | integer | yes | Days before arrival. |
discounts.lastMinute.percent | number | yes | 10 = 10% off. |
discounts.nonRefundable | object | null | no | Alone in its call. |
discounts.nonRefundable.percent | number | yes | 10 = 10% off. |
fees | object[] | no | The whole list. |
fees.id | string | no | Its id, to keep it. |
fees.kind | enum | yes | What it is for. One of: cleaning, extra_guest, pet, linen, security_deposit, resort, management, utility, other. |
fees.label | string | no | Its name guests see. |
fees.amount | object | no | Or percent. |
fees.amount.amount | string | yes | "135.00" |
fees.amount.currency | string | yes | "EUR" |
fees.percent | number | no | Of the stay; or amount. |
fees.per | enum | no | Default: stay. One of: stay, night, guest, guest_night. |
fees.optional | boolean | no | The guest chooses it. |
taxes | object[] | no | The whole list. |
taxes.id | string | no | Its id, to keep it. |
taxes.kind | enum | yes | Which tax. One of: tourist_tax, city_tax, vat, other. |
taxes.percent | number | no | 18 = 18%; or amount. |
taxes.amount | object | no | Or percent. |
taxes.amount.amount | string | yes | "135.00" |
taxes.amount.currency | string | yes | "EUR" |
taxes.per | enum | no | Default: stay. One of: stay, night, guest_night. |
taxes.includedInPrice | boolean | no | Already in the price. |
taxes.exemptUnderAge | integer | null | no | Guests under this age pay none. |
platformAdjustment | object | no | One platform's own settings. |
platformAdjustment.platform | string | yes | "Booking.com". |
platformAdjustment.changeByPercent | number | no | Its markup, 8 = 8% more. |
platformAdjustment.changeByAmount | object | no | Its markup a night. |
platformAdjustment.changeByAmount.amount | string | yes | "135.00" |
platformAdjustment.changeByAmount.currency | string | yes | "EUR" |
platformAdjustment.minNights | integer | null | no | Its own; null = yours. |
platformAdjustment.maxNights | integer | null | no | Its own; null = yours. |
platformAdjustment.paused | boolean | no | Prices stop going there. |
FEATURE_NOT_AVAILABLE before anything is stored.{
"name": "save_pricing_rules",
"arguments": {
"listingId": "cmwhux6y60026somfhixjmcm8",
"standing": {
"weekendPrice": {
"amount": "145.00",
"currency": "EUR"
}
}
}
}{
"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.