roma__ResetAuthentication
Resets a ROMA device's authentication credentials, allowing you to update its username or password or have a new password generated by the system.
Instructions
[ROMA] 重置设备鉴权信息
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>",
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "roma__ResetAuthentication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | 设备密码,输入要求:至少1数字,1大写字母,1小写字母,1特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32位,传参空,密码不被重置。当用户名与密码都为空时,密码重置,由系统生成。 | |
| device_id | Yes | 设备ID | |
| user_name | No | 设备用户名,支持英文大小写、英文符号(-)及数字,长度限制10-50位,传参空,用户名不被重置 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID |