tg_login
Opens a visible browser window for one-time Telegram login via QR code or phone, then saves the authenticated session in the profile for later bot-testing runs.
Instructions
Open a visible browser window for one-time Telegram login (QR or phone). The session persists in the profile afterwards.
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_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |