Log out another session
telegram_logout_sessionRevoke a Telegram session using its hash from telegram_list_sessions. Set all=true to revoke every session except the current one; refuses to revoke the active server session.
Instructions
Revoke one session by the hash reported by telegram_list_sessions. Pass all=true to revoke every session except this one. Refuses to revoke the session running this server.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "telegram_logout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| hash | No |