ecs__ShowServerPassword
Retrieve the initial random Administrator password for a Windows ECS instance created from a Cloudbase-init-enabled image, using the project and server IDs.
Instructions
[ECS] 当通过支持Cloudbase-init功能的镜像创建Windows云服务器时,获取云服务器初始安装时系统生成的管理员帐户(Administrator帐户或Cloudbase-init设置的帐户)随机密码。
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": {
"project_id": "<project_id>",
"server_id": "<server_id>"
},
"name": "ecs__ShowServerPassword"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | 云服务器ID。 | |
| project_id | Yes | 项目ID。 |