workspaceapp__ChangeServerImage
Changes a WorkspaceApp server's image by specifying the target image ID, image type, OS type, project ID, and server ID.
Instructions
[WORKSPACEAPP] 修改服务器的镜像。
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": {
"image_id": "<image_id>",
"image_type": "<image_type>",
"os_type": "<os_type>",
"project_id": "<project_id>",
"server_id": "<server_id>"
},
"name": "workspaceapp__ChangeServerImage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os_type | Yes | 系统类型,当前仅支持Windows。 | |
| image_id | Yes | 镜像id,要求与服务器原有镜像id不相同。 | |
| server_id | Yes | 服务器唯一标识。 | |
| image_type | Yes | 镜像类型: | |
| project_id | Yes | 项目唯一标识。 | |
| image_product_id | No | 镜像的产品id,当镜像是市场镜像时候,该字段必传。 | |
| update_access_agent | No | 是否自动升级hda版本。 |