login
Verify Xianyu login status; open browser with QR code if not logged in, wait for scan, and save cookies automatically.
Instructions
检查闲鱼登录状态。已登录则直接返回;未登录则打开浏览器展示二维码, 等待用户手动扫码,登录成功后自动保存 Cookies。
Args: timeout_seconds: 等待扫码的最大秒数,默认 180。
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 |
|---|---|---|---|
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |