ecs__NovaCreateKeypair
Creates an SSH key pair or imports an existing public key for Huawei Cloud ECS, enabling secure SSH access for cloud instances.
Instructions
[ECS] 创建SSH密钥,或把公钥导入系统,生成密钥对。
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": {
"keypair": "<keypair>",
"project_id": "<project_id>"
},
"name": "ecs__NovaCreateKeypair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keypair | Yes | 创建或导入的SSH密钥信息。 | |
| project_id | Yes | 项目ID。 |