approveVisitorsRequest
Approve a visit request, which schedules the visit for today and emails the visitor their access code. Returns the scheduled visit with the code. Only the host of the request can approve it: a request hosted by anyone other than the user who connected this assistant is not found. Get requestId from getVisitorsRequests. 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": {
"requestId": "<requestId>"
},
"name": "approveVisitorsRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | The id of the visit request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visit | Yes |