---
title: "Tools: bookings | Hostemi"
description: "Find and read bookings, add one, change, cancel, answer a request, record a payment. Step-by-step help from the Hostemi docs for vacation rental hosts."
canonical: https://hostemi.com/docs/mcp/tools/bookings
source: https://hostemi.com/docs/mcp/tools/bookings.md
---

# Tools: bookings

Find and read bookings, add one, change, cancel, answer a request, record a payment.

#### On this page

1. [Overview](#overview)
2. [list\_bookings](#list_bookings)
3. [get\_booking](#get_booking)
4. [create\_booking](#create_booking)
5. [update\_booking](#update_booking)
6. [set\_booking\_status](#set_booking_status)
7. [cancel\_booking](#cancel_booking)
8. [answer\_booking\_request](#answer_booking_request)
9. [answer\_change\_request](#answer_change_request)
10. [record\_payment](#record_payment)

## Overview

| Tool | Kind | What it does |
| --- | --- | --- |
| [`list_bookings`](https://hostemi.com/docs/mcp/tools/bookings#list_bookings) | read | Find bookings |
| [`get_booking`](https://hostemi.com/docs/mcp/tools/bookings#get_booking) | read | See a booking |
| [`create_booking`](https://hostemi.com/docs/mcp/tools/bookings#create_booking) | preview | Add a booking |
| [`update_booking`](https://hostemi.com/docs/mcp/tools/bookings#update_booking) | preview | Change a booking |
| [`set_booking_status`](https://hostemi.com/docs/mcp/tools/bookings#set_booking_status) | preview | Set a booking status |
| [`cancel_booking`](https://hostemi.com/docs/mcp/tools/bookings#cancel_booking) | preview | Cancel a booking |
| [`answer_booking_request`](https://hostemi.com/docs/mcp/tools/bookings#answer_booking_request) | preview | Answer a booking request |
| [`answer_change_request`](https://hostemi.com/docs/mcp/tools/bookings#answer_change_request) | preview | Answer a change request |
| [`record_payment`](https://hostemi.com/docs/mcp/tools/bookings#record_payment) | preview | Record a payment |

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.

## list\_bookings

**Find bookings.** Reads. Changes nothing.

Finds bookings by dates, listing, status or guest, 20 at a time; status "requests" lists booking requests and guests' questions waiting for the host's answer. Use when the host asks who is coming, about a guest, or what waits for an answer. One booking in full: get\_booking.

| Property | Value |
| --- | --- |
| Kind | read |
| Hints | readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false |
| Built on | reservations\_list, reservation\_requests\_list, reservation\_request\_get |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `listingId` | string | no | Only this listing. |
| `from` | string | no | Stays touching this day or later. |
| `to` | string | no | Stays touching this day or earlier. |
| `status` | enum | no | Default: all but cancelled. One of: `requests`, `confirmed`, `checked_in`, `checked_out`, `cancelled`, `no_show`, `on_hold`, `question`. |
| `guest` | string | no | Guest name, e-mail or booking code. |
| `limit` | integer | no | Default 20. |
| `cursor` | string | no | From nextCursor. |

Call (recorded 2026-11-19)

```json
{
  "name": "list_bookings",
  "arguments": {
    "from": "2026-12-01",
    "to": "2026-12-31",
    "status": "confirmed"
  }
}
```

Answer (structuredContent)

```json
{
  "ok": true,
  "summary": "2 bookings between 2026-12-01 and 2026-12-31.",
  "data": {
    "bookings": [
      {
        "id": "cmwkahsef000b2ikz2r939nf4",
        "code": "HST-2026-000012",
        "guest": "Anna Keller",
        "listing": {
          "id": "cmwhux6y60026somfhixjmcm8",
          "name": "Lake house"
        },
        "checkIn": "2026-12-27",
        "checkOut": "2026-12-30",
        "nights": 3,
        "status": "confirmed",
        "platform": "Added by you",
        "bookedOn": "2026-11-17",
        "total": {
          "amount": "360.00",
          "currency": "EUR",
          "display": "€360.00"
        },
        "due": {
          "amount": "360.00",
          "currency": "EUR",
          "display": "€360.00"
        }
      },
      {
        "id": "cmwhux70i002hsomfqyvycrsa",
        "code": "HST-2026-000001",
        "guest": "Lena Hoffmann",
        "listing": {
          "id": "cmwhux6y60026somfhixjmcm8",
          "name": "Lake house"
        },
        "checkIn": "2026-12-05",
        "checkOut": "2026-12-08",
        "nights": 3,
        "status": "confirmed",
        "platform": "Added by you",
        "bookedOn": "2026-11-15",
        "total": {
          "amount": "360.00",
          "currency": "EUR",
          "display": "€360.00"
        },
        "due": {
          "amount": "360.00",
          "currency": "EUR",
          "display": "€360.00"
        }
      }
    ],
    "requests": []
  },
  "nextCursor": null
}
```

Errors it raises itself: `ONE_PAGE`. Every tool can also answer the [shared errors](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

## get\_booking

**See a booking.** Reads. Changes nothing.

One booking: guest, stay, listing, guests, total and what is due, extras, a change the guest asked for, online check-in progress and its page in Hostemi. Use when the host asks about one booking. Contact details, payments and notes only when the host asks; door codes stay in Hostemi.

| Property | Value |
| --- | --- |
| Kind | read |
| Hints | readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false |
| Card | [booking](https://hostemi.com/docs/mcp/cards) |
| Built on | reservations\_get, reservations\_finance, payments\_list, charges\_list, reservation\_pending\_changes, guests\_get |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `bookingId` | string | yes | A booking id (list\_bookings). |
| `show` | enum\[\] | no | What the host asked to see. One of: `contact`, `payments`, `notes`. |

Call (recorded 2026-11-18)

```json
{
  "name": "get_booking",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4"
  }
}
```

Answer (structuredContent)

```json
{
  "ok": true,
  "summary": "Anna Keller, Sun 27 to Wed 30 Dec 2026 (3 nights) at Lake house: confirmed, Added by you, total €360.00, €360.00 still due.",
  "data": {
    "booking": {
      "id": "cmwkahsef000b2ikz2r939nf4",
      "code": "HST-2026-000012",
      "status": "confirmed",
      "platform": "Added by you",
      "bookedOn": "2026-11-17",
      "listing": {
        "id": "cmwhux6y60026somfhixjmcm8",
        "name": "Lake house"
      },
      "stay": {
        "checkIn": "2026-12-27",
        "checkOut": "2026-12-30",
        "nights": 3,
        "display": "Sun 27 to Wed 30 Dec 2026 (3 nights)"
      },
      "guests": {
        "adults": 2,
        "children": 0,
        "infants": 0
      },
      "guest": {
        "id": "cmwkahsec00092ikz7wkxfv1a",
        "name": "Anna Keller",
        "email": "anna@example.com",
        "phone": "+43 660 5550117",
        "country": "AT",
        "language": "en"
      },
      "conversationId": "cmwkahsfp00012it9mygk278a",
      "datesChangeableHere": true
    },
    "money": {
      "total": {
        "amount": "360.00",
        "currency": "EUR",
        "display": "€360.00"
      },
      "paid": {
        "amount": "0.00",
        "currency": "EUR",
        "display": "€0.00"
      },
      "due": {
        "amount": "360.00",
        "currency": "EUR",
        "display": "€360.00"
      },
      "paymentStatus": "not paid",
      "collectedBy": "the host"
    },
    "payments": [],
    "extras": [],
    "pendingChange": null
  }
}
```

Errors it raises itself: none of its own. Every tool can also answer the [shared errors](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

## create\_booking

**Add a booking.** Stores a preview with a change id (chg\_…). Nothing changes until apply\_change.

Adds a booking the host took themselves (phone, e-mail, a returning guest); its nights close wherever the listing is sold. Use when the host asks to add one; never for a platform's booking, which arrives on its own. Returns a preview to approve; may notify the host.

| Property | Value |
| --- | --- |
| Kind | preview |
| Approval class | normal |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | [booking](https://hostemi.com/docs/mcp/cards) |
| Built on | reservation\_create |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `listingId` | string | no | From get\_context. |
| `checkIn` | string | yes | Arrival day, YYYY-MM-DD. |
| `checkOut` | string | yes | Departure morning: 12 to 15 is 3 nights. |
| `guest` | object | yes | A first and last name; nothing else is needed. |
| `guest.firstName` | string | no | First name. |
| `guest.lastName` | string | no | Last name. |
| `guest.email` | string | no | The one the host gave. |
| `guest.language` | string | no | "de", for their messages. |
| `adults` | integer | no | Default 2. |
| `children` | integer | no | Default 0. |
| `infants` | integer | no | Under 2; default 0. |
| `total` | object | no | Agreed total; omit for the listing price. |
| `total.amount` | string | yes | "135.00" |
| `total.currency` | string | yes | "EUR" |
| `hold` | boolean | no | Hold the nights 48 hours, unconfirmed. |
| `note` | string | no | The host's note; guests never see it. |

Example call

```json
{
  "name": "create_booking",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "checkIn": "2027-03-03",
    "checkOut": "2027-03-06",
    "guest": {
      "firstName": "Marta",
      "lastName": "Novak",
      "country": "SI"
    },
    "adults": 2,
    "total": {
      "amount": "240.00",
      "currency": "EUR"
    }
  }
}
```

Answer shape

```json
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "listing": "object",
    "stay": "object",
    "total": "object?",
    "priceFrom": "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: `GUEST_REQUIRED`, `INVALID_DATE`. Every tool can also answer the [shared errors](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

## update\_booking

**Change a booking.** Stores a preview with a change id (chg\_…). Nothing changes until apply\_change.

Changes one booking, one kind of change per call: dates or guest numbers, a move to another listing of the same place, or the host's own note (guests never see it). Use when the host asks to change a booking. A platform's booking changes its dates on the platform; status: set\_booking\_status. Returns a preview to approve; may notify the host.

| Property | Value |
| --- | --- |
| Kind | preview |
| Approval class | normal |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | [change](https://hostemi.com/docs/mcp/cards) |
| Built on | reservation\_modify |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `bookingId` | string | yes | A booking id (list\_bookings). |
| `checkIn` | string | no | New arrival day, YYYY-MM-DD. |
| `checkOut` | string | no | New departure morning, YYYY-MM-DD. |
| `adults` | integer | no | New number of adults. |
| `children` | integer | no | New number of children. |
| `infants` | integer | no | New number of infants. |
| `listingId` | string | no | Move it to this listing of the same place. |
| `note` | string | no | Replaces the host's note (guests never see it). |

Example call

```json
{
  "name": "update_booking",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "adults": 3
  }
}
```

Answer shape

```json
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "bookingId": "string",
    "kind": "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: `NOTHING_TO_CHANGE`, `ONE_CHANGE`, `OTHER_PLACE`. Every tool can also answer the [shared errors](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

## set\_booking\_status

**Set a booking status.** Stores a preview with a change id (chg\_…). Nothing changes until apply\_change.

Marks one booking confirmed, checked in, checked out or a no-show. A no-show is reported to a platform that takes it (Booking.com), which may charge its fee unless waived; Hostemi charges nothing. Use when the host says a guest arrived, left or did not come. Returns a preview to approve; may notify the host.

| Property | Value |
| --- | --- |
| Kind | preview |
| Approval class | normal; risky for a no-show |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | [change](https://hostemi.com/docs/mcp/cards) |
| Built on | reservation\_confirm, reservation\_check\_in, reservation\_check\_out, reservation\_no\_show |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `bookingId` | string | yes | A booking id (list\_bookings). |
| `status` | enum | yes | Its new state. One of: `confirmed`, `checked_in`, `checked_out`, `no_show`. |
| `noShowFee` | enum | no | Only with no\_show. Default: the platform's setting. One of: `platform_setting`, `charge`, `waive`. |

Call (recorded undefined)

```json
{
  "name": "set_booking_status",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "status": "checked_in"
  }
}
```

Answer (structuredContent)

```json
{
  "ok": true,
  "summary": "Preview, nothing has changed yet. Anna Keller's booking at Harbor Loft is marked checked in.",
  "data": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "kind": "checked_in"
  },
  "change": {
    "id": "chg_cmexample3",
    "state": "preview",
    "risk": "NORMAL"
  }
}
```

Errors it raises itself: `INVALID_INPUT`. Every tool can also answer the [shared errors](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

## cancel\_booking

**Cancel a booking.** Stores a preview with a change id (chg\_…). Nothing changes until apply\_change.

Cancels one booking the host named; its nights go back on sale. Cannot be undone, tells the guest nothing, refunds nothing; a platform's booking may need cancelling there too. Use only when the host asks to cancel it. Returns a preview to approve; may notify the host.

| Property | Value |
| --- | --- |
| Kind | preview |
| Approval class | risky |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | [change](https://hostemi.com/docs/mcp/cards) |
| Built on | reservation\_cancel |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `bookingId` | string | yes | A booking id (list\_bookings). |
| `reason` | string | no | Why, for the host's own records. |

Example call

```json
{
  "name": "cancel_booking",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "reason": "The guest called to cancel."
  }
}
```

Answer shape

```json
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "bookingId": "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](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

## answer\_booking\_request

**Answer a booking request.** Stores a preview with a change id (chg\_…). Nothing changes until apply\_change.

Accepts or declines one booking request, or declines a guest's question before booking; the guest hears nothing until it is applied. Use when the host decides on a request. Inviting a guest to book (pre-approval, an offer): in Hostemi. Returns a preview to approve; may notify the host.

| Property | Value |
| --- | --- |
| Kind | preview |
| Approval class | risky |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | [change](https://hostemi.com/docs/mcp/cards) |
| Built on | reservation\_request\_resolve, inquiry\_resolve |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `requestId` | string | yes | From list\_bookings with status "requests". |
| `answer` | enum | yes | The host's decision. One of: `accept`, `decline`. |
| `declineReason` | enum | no | Only with decline. One of: `dates_not_available`, `not_a_good_fit`, `waiting_for_better`, `not_comfortable`. |
| `message` | string | no | A short message with the answer. |

Example call

```json
{
  "name": "answer_booking_request",
  "arguments": {
    "requestId": "cmwn2q8vx0004so7k1d3h5a9e",
    "answer": "accept",
    "message": "Welcome, see you in May!"
  }
}
```

Answer shape

```json
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "requestId": "string",
    "answer": "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: `INVALID_INPUT`, `IN_HOSTEMI`. Every tool can also answer the [shared errors](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

## answer\_change\_request

**Answer a change request.** Stores a preview with a change id (chg\_…). Nothing changes until apply\_change.

Accepts or declines a change a guest asked for on a booking (get\_booking shows it), or withdraws one the host asked for. Use when the host decides on it. Returns a preview to approve; may notify the host.

| Property | Value |
| --- | --- |
| Kind | preview |
| Approval class | risky |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | [change](https://hostemi.com/docs/mcp/cards) |
| Built on | reservation\_change\_resolve |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `bookingId` | string | yes | The booking with the change request. |
| `answer` | enum | yes | The host's decision. One of: `accept`, `decline`, `withdraw`. |

Call (recorded undefined)

```json
{
  "name": "answer_change_request",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "answer": "accept"
  }
}
```

Answer (structuredContent)

```json
{
  "ok": true,
  "summary": "Preview, nothing has changed yet. The change Anna Keller asked for is accepted: she stays 12 to 15 May.",
  "data": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "answer": "accept"
  },
  "change": {
    "id": "chg_cmexample4",
    "state": "preview",
    "risk": "RISKY"
  }
}
```

Errors it raises itself: `NOTHING_PENDING`. Every tool can also answer the [shared errors](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

## record\_payment

**Record a payment.** Stores a preview with a change id (chg\_…). Nothing changes until apply\_change.

Notes money the host received for a booking (cash, a transfer, a card terminal): a record only, nothing is charged or sent. Use when the host says a guest paid. Refunds: in Hostemi. Returns a preview to approve; may notify the host.

| Property | Value |
| --- | --- |
| Kind | preview |
| Approval class | normal |
| Hints | readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false |
| Card | [change](https://hostemi.com/docs/mcp/cards) |
| Built on | payment\_record |

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `bookingId` | string | yes | A booking id (list\_bookings). |
| `amount` | object | yes | What was received. |
| `amount.amount` | string | yes | "135.00" |
| `amount.currency` | string | yes | "EUR" |
| `method` | enum | no | Default: cash. One of: `cash`, `card`, `bank_transfer`, `voucher`, `other`. |
| `paidOn` | string | no | The day it arrived. Default: today. |
| `note` | string | no | A short note for the host. |

Example call

```json
{
  "name": "record_payment",
  "arguments": {
    "bookingId": "cmwkahsef000b2ikz2r939nf4",
    "amount": {
      "amount": "360.00",
      "currency": "EUR"
    },
    "method": "bank_transfer"
  }
}
```

Answer shape

```json
{
  "ok": true,
  "summary": "One sentence for the host.",
  "data": {
    "bookingId": "string",
    "amount": "object"
  },
  "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: `INVALID_AMOUNT`. Every tool can also answer the [shared errors](https://hostemi.com/docs/mcp/tools#errors-every-tool-can-return).

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
