createVisitorsRequest
Create a visit request on behalf of a member, who becomes the host and is notified to approve or reject it; the visit is scheduled only once the host approves. Returns the created request. request.userRefHost is the user.id of a getCustomers result of type "user", never its id and never a company. The host must be a member of that location, and the location must have visitors turned on. To register a visitor directly, hosted by the user who connected this assistant, use createVisit instead. Call getLocations to list locations, or getLocation to fetch one by locationId. Never invent UUIDs; only use values from prior tool responses.
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": {
"request": "<request>"
},
"name": "createVisitorsRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Visit request to create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |