Disconnect Assistant
disconnect_assistantDisconnect one assistant from the user's Zestli account, the same as Disconnect in their account page. Use a grant_id from list_connections, and only when the user asks. It may be this assistant or another one. The assistant loses access at once; to reconnect, the user approves it again from that assistant. Bookings, payments and cancellations already made are not affected. Repeating it for the same grant_id is harmless.
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": "disconnect_assistant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grant_id | Yes | ||
| disconnected | Yes | ||
| was_this_assistant | Yes |