login
Automates browser login to the ELN platform to obtain a JWT token, caching it for 24 hours. Use when the token expires or at first login.
Instructions
通过浏览器自动化登录 ELN 平台,获取 JWT token。首次使用或 token 过期时调用。登录后会缓存 token 24 小时。
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 |
|---|---|---|---|
| password | No | 密码(默认使用配置中的密码) | |
| username | No | 用户名(默认使用配置中的 admin) |