revoke_guest_grant
End a guest grant now to close the guest connection and detach their extension from open tabs; safe to repeat and returns revoked false if already ended.
Instructions
End a guest grant from request_guest_grant now, before it expires: the relay closes the guest's connection within a second and their extension detaches from their tabs, which stay open in their browser. Safe to repeat; returns revoked false if it had already ended (the guest ended it, it expired, or it was revoked).
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": {
"sessionId": "<sessionId>"
},
"name": "revoke_guest_grant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The guest session id (guest-…) request_guest_grant returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revoked | Yes | False when the grant had already ended. |