Disconnect sign-in method
disconnect_sign_in_methodRemove Google or Apple as a way to sign in to the user's Caly account. The last remaining way in can never be removed, so the call is refused (sign_in_method_last_method) if it is the only one; a method that is not connected is refused too (sign_in_method_not_connected_error). Check list_sign_in_methods first. The password is changed with change_password, and to add a password before removing the only Google or Apple sign-in, use send_password_setup_email. Connecting Google or Apple is done by the user on the Caly website, in the Security section of their account settings. Two steps: the first call returns CONFIRMATION_REQUIRED with a confirmToken; tell the user what will happen, then call again with the SAME arguments plus confirmToken.
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": {
"provider": "<provider>"
},
"name": "disconnect_sign_in_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | The sign-in method to remove. | |
| confirmToken | No | Leave empty on the first call. Then pass the token from the CONFIRMATION_REQUIRED answer. |