On this page
connect_device_account
Starts linking the owner's LG ThinQ account from the conversation. Returns a 6-digit PIN and a console link that shows the same sign-in as a QR code; the owner approves in the LG ThinQ app and you call again with session_id to finish. Only device list and status access is requested; control is something the owner turns on in the console. New appliances still have to be allowed for your agent by the owner. Available only when the server has LG ThinQ enabled.
Arguments
Only LG ThinQ supports in-chat linking today.
From a previous call. Waits briefly for the owner's approval, then finishes the connection.
ISO 3166-1 alpha-2 country of the LG account. Default KR; must match the ThinQ app.
Returns: Link session
waiting_for_app_approval finishing connected failed expired cancelled consumed not_found unavailable
Show the PIN and the link to the user while waiting. A new PIN appears on the console page when the old one expires.
User-safe text: where in the ThinQ app to go and what to do next.
On connected. Devices are discovered but not yet allowed for this agent.
On failed: code (for example LG_TERMS_NOT_AGREED) and a message the user can act on.
Request
await client.callTool({ name: "connect_device_account", arguments: { provider: "lg" } });
// … user approves in the LG ThinQ app …
await client.callTool({ name: "connect_device_account", arguments: { provider: "lg", session_id: "lglink_8f2k…" } });{
"status": "waiting_for_app_approval",
"provider": "lg",
"session_id": "lglink_8f2k…",
"pin_code": "482913",
"pin_expires_at": "2026-11-09T12:01:00Z",
"session_expires_at": "2026-11-09T12:05:00Z",
"console_url": "https://connect.reachthings.com/app/connections/lg?region=global&session=lglink_8f2k…",
"access": "read_only",
"instructions": "Open the LG ThinQ app → Menu → App settings → ThinQ account sharing. Enter PIN 482913 or scan the QR code at …",
"next_action": { "type": "call_again_with_session_id", "message": "After the user approves in the LG ThinQ app, call connect_device_account with this session_id to finish." }
}