List booking emails
list_booking_emailsThe latest booking emails forwarded to the mailbox (50 at most), newest first, with what was read (portal, dates, guest name, head count, amount, booking code, listing name) and what happened: "matched" (it completed that booking), "proposal" (a booking with no stay yet, for the owner to create), "unverified" (forwarded by hand: check before creating), "unreadable", "ignored" (not a booking). Guest email and phone are not returned. Filter with status — for "what is there to review" pass none: the screen shows the ones to review first, and there the user picks the home and creates each booking or discards the email themselves. Always pass lang with the language of the user's message. The user sees the result as a screen: call this again whenever they ask to see these, even if you already have the data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_booking_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | The language of the user's message, so the view shown with the answer uses it (not sent to the API) | |
| status | No | Only emails in this state; "proposal" for the ones to review |