Read messages with the host
get_messagesThe conversation between the guest and the host about a booking, oldest first (including the guest's note with the request and the host's note when accepting or declining). Use it to relay the host's replies. Pass guest_email (the email the booking was made with) unless you connect with an agent token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"booking_id": "<booking_id>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking_id | Yes | The booking's id, from request_booking (starts with bkg_). | |
| guest_email | No | The email the booking was made with. Needed unless you connect with an agent token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | No |