Log in to LINE
loginAuthenticates LINE Desktop by scanning a QR code in a local window; reuses a saved session on each start, or opens the QR and waits for scan/PIN.
Instructions
Log in by scanning a QR code in a window on this machine.
Call this first. It returns at once when the saved session still works,
so it is safe to call on every start. Otherwise it opens the
'Line Desktop MCP' window, shows the QR, and waits up to timeout_sec
for the scan plus any PIN LINE asks for. Closing that window stops the
wait, in which case nothing is saved.
The window appears on this machine, so the login cannot be completed from a different host. Keep the session file private: it holds the access token and the Letter Sealing keys.
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": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Ignore the stored session and always show a fresh QR. A successful login replaces the saved session. | |
| timeout_sec | No | How long to wait for the QR scan (and any PIN entry). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||