rejectVisitorsRequest
Reject a visit request, which emails the visitor that it was declined. Rejecting cannot be undone. Returns the request as it was before the rejection. Only the host of the request can reject 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": "rejectVisitorsRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | The id of the visit request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |