codeartsdeploy__UpdateHostInfo
Update host information in a CodeArts Deploy host group by host ID, including IP address, SSH port, name, and authentication details.
Instructions
[CODEARTSDEPLOY] 根据主机id编辑主机集群下主机信息。
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": {
"group_id": "<group_id>",
"host_id": "<host_id>",
"host_name": "<host_name>",
"ip": "<ip>",
"port": "<port>"
},
"name": "codeartsdeploy__UpdateHostInfo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | 主机ip,如:161.17.101.12 | |
| port | Yes | ssh端口,如:22 | |
| sync | No | 是否同步主机信息 | |
| host_id | Yes | 主机id | |
| as_proxy | No | 是否为代理主机 | |
| group_id | Yes | 主机集群id | |
| host_name | Yes | 主机名称 | |
| authorization | No | 登录主机鉴权,使用密码登录则填写密码即可,使用密钥则填写密钥,二选一即可。 | |
| proxy_host_id | No | 代理主机id | |
| install_icagent | No | 是否安装icAgent |