login_qr_poll
login_qr_pollPolls QR login status every 3 seconds until the user scans or the timeout expires, then returns success with user details when authentication completes.
Instructions
等待/轮询扫码登录结果(免鉴权)。timeout 秒内每 3 秒查询一次,用户扫码后返回 status=success 与用户对象(JWT 仅保留在当前进程内部);timeout=0 只查一次。默认 120 秒。
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": {
"session_id": "<session_id>"
},
"name": "login_qr_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | 等待秒数,0=只查一次;默认 120 | |
| session_id | Yes | login_qr_start 返回的 session_id |