tg_accounts
Lists Telegram accounts held by the daemon and indicates the active one for outgoing calls. Review signed-in accounts to manage multi-account sessions.
Instructions
Which Telegram accounts this daemon holds, and which one your calls go to.
More than one account can be signed in at once (tg login --account work).
Every other tool works on the account selected with tg_account_use.
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": "tg_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |