Prepare enquiry for guest review
prepare_enquiryValidate answers against the current host form and prepare an expiring proposal. This does not submit an enquiry or notify the host. Present the complete returned review, property and chosen contact details to the guest, then ask for explicit approval. Keep the approval token private; it is bound to this exact proposal. Use a fresh UUID idempotencyKey for each new proposal and reuse it for network retries.
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": {
"revision": "<revision>",
"locale": "<locale>",
"answers": "<answers>",
"idempotencyKey": "<idempotencyKey>",
"id": "<id>"
},
"name": "prepare_enquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| locale | Yes | ||
| answers | Yes | ||
| revision | Yes | ||
| idempotencyKey | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| review | Yes | ||
| expiresAt | Yes | ||
| propertyId | Yes | ||
| propertyName | Yes | ||
| approvalToken | Yes | ||
| bookingStatus | Yes | ||
| reservationCreated | Yes |