检查登录状态
xg_login_statusVerifies saved login credentials are still valid and returns the current user's identity, role, and permission count, with guidance when not logged in.
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": "xg_login_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||