Request a property viewing
request_viewingRequest a viewing of one published listing at a listed agency for the person you are helping. It arrives as a lead on that listing in the agency's system and the agency is emailed; the agency confirms the viewing time. Only with the person's consent. TWO STEPS: call first WITHOUT confirm_token — nothing is sent, you get a preview of exactly what goes to whom plus a confirm_token. Show the preview to the person and ask if they agree. Only after they say yes, call again with the same details, confirm_token and consent=true.
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": {
"business_id": "<business_id>",
"listing_id": "<listing_id>",
"name": "<name>",
"phone": "<phone>"
},
"name": "request_viewing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The person's name | |
| No | Email address (optional, but needed for the confirmation email) | ||
| phone | Yes | Mobile number, e.g. 082 123 4567 | |
| consent | No | Second step only: true ONLY if the person saw the preview and agreed that these details may be sent to this business. | |
| message | No | Optional short message for the agent | |
| listing_id | Yes | From list_properties | |
| business_id | Yes | ||
| confirm_token | No | Second step only: the confirm_token from the preview (single use, 10 minutes). Leave out on the first call. | |
| assistant_name | No | Name of the AI assistant making the request (optional) | |
| preferred_times | No | When the person could view, e.g. "Saturday morning or weekdays after 5" |