auth_setup
Opens a local browser setup page to configure PKU credentials, bind an OTP token, and test login; use it for first-time setup, password changes, or expired tokens.
Instructions
打开本机配置网页(只在 127.0.0.1),让用户在浏览器里填学号密码、绑定手机令牌、测试登录。
首次使用、换密码、令牌失效时调用。把返回的 url 告诉用户(浏览器通常已自动打开),等用户说完成后再调用 auth_status 确认。
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": "auth_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||