telegram-terminate-session
Terminate a specific Telegram session by its hash, or end all other active sessions in one action. Use this to remotely close sessions you no longer recognize or need.
Instructions
Terminate a specific Telegram session by its hash, or explicitly terminate all other sessions by setting terminateAllOther=true
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-terminate-session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session hash to terminate (numeric string from get-sessions). Required when terminateAllOther is not set | |
| terminateAllOther | No | Set to true to terminate all other sessions (excludes current). Cannot be combined with sessionId |