tg_account_use
Switch the active Telegram account for subsequent tool calls, and optionally persist the selection as the default for future sessions.
Instructions
Point the following tool calls at this account ("main" for the default one).
By default the switch lasts for this session only: it does not affect other
clients, and it is forgotten when Claude closes. With persist=true the
choice is written to disk and becomes the account every client starts from,
including after a daemon restart — use it when the owner says "work from this
account from now on", not for one errand.
Either way the background watcher is unaffected: it always covers every signed-in account.
A single call can also be aimed elsewhere without switching at all —
tg_capabilities takes an account argument. Check tg_accounts if unsure
where you are writing right now; every write tool also names the account it
wrote to in its answer.
Args: account: label of a signed-in account, or "main" for the primary one. The owner adds accounts from a terminal; the agent cannot. persist: remember this account as the default for every client and every restart, instead of only this session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| persist | No |