Sign out of Telegram
logoutTerminate the session for a Telegram account and revoke it on the Telegram side.
Instructions
Drop the local session for an account and revoke it on the Telegram side.
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": {
"accountId": "<accountId>"
},
"name": "logout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account id (from listAccounts) |