workspace__ChangeDesktopNetwork
Switch a desktop's VPC, subnet, private IP, and security groups by specifying the desktop and project IDs plus target network settings.
Instructions
[WORKSPACE] 切换桌面vpc、子网、ip、安全组。
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>",
"project_id": "<project_id>",
"security_group_ids": "<security_group_ids>",
"subnet_id": "<subnet_id>",
"vpc_id": "<vpc_id>"
},
"name": "workspace__ChangeDesktopNetwork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpc_id | Yes | 待切换VPC的ID。 | |
| subnet_id | Yes | 待切换子网的ID。 | |
| desktop_id | Yes | 桌面ID。 | |
| private_ip | No | 指定私有IP地址。 | |
| project_id | Yes | 项目ID。 | |
| security_group_ids | Yes | 安全组ID列表。 |