workspace__ChangeDesktopToImage
Converts a specified cloud desktop into a reusable image, with options for image name, tags, memory limits, and system preparation.
Instructions
[WORKSPACE] 桌面转镜像。
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": {
"desktop_id": "<desktop_id>",
"image_name": "<image_name>",
"project_id": "<project_id>"
},
"name": "workspace__ChangeDesktopToImage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_ram | No | 表示镜像支持的最大内存,单位为MB。 | |
| min_ram | No | 表示镜像支持的最小内存,单位为MB,默认为0,表示不受限制。 | |
| desktop_id | Yes | 用于制作镜像的云桌面的InstanceID。 | |
| image_name | Yes | 镜像名称。 | |
| image_tags | No | 镜像标签列表。 | |
| project_id | Yes | 项目ID。 | |
| execute_sysprep | No | 是否执行系统封装步骤。 | |
| image_description | No | 镜像描述信息。 | |
| enterprise_project_id | No | 表示当前镜像所属的企业项目。取值为0或无该值,表示属于default企业项目。取值为UUID,表示属于该UUID对应的企业项目。 |