tg_login_password
Submits the two-factor authentication password to finish a headless Telegram login when 2FA is required.
Instructions
Headless login step 3: submit the two-factor password (2FA only).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"password": "<password>"
},
"name": "tg_login_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |