xhs_login
Opens a browser window for QR code login to Xiaohongshu. Required on first use; login state is saved for subsequent calls.
Instructions
打开浏览器窗口,扫码登录小红书。 首次使用必须调用。登录成功后浏览器状态会保存到本地, 后续调用无需重新登录。
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": "xhs_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headless | No | 是否无头模式。登录必须为 false(需要扫码) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||