cloudide__CreateInstanceBy3rd
Provision a CloudIDE instance for a third-party user by defining stack, CPU/memory, storage, and instance name, with optional plugins and auto-sleep settings.
Instructions
[CLOUDIDE] 创建IDE实例
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": {
"cpu_memory": "<cpu_memory>",
"instance_name": "<instance_name>",
"pvc_quantity": "<pvc_quantity>",
"stack_id": "<stack_id>"
},
"name": "cloudide__CreateInstanceBy3rd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | cpu架构 x86|arm | |
| plugins | No | 插件列表 | |
| stack_id | Yes | 技术栈ID,通过技术栈管理ListStacks接口获取。 | |
| cpu_memory | Yes | cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G | |
| description | No | 描述。长度不操过100个字符 | |
| is_temporary | No | 是否页面显示(以标签配置为准) | |
| pvc_quantity | Yes | PVC规格 5GB|10GB|20GB | |
| refresh_time | No | 自动休眠时长。 | |
| instance_name | Yes | 实例名。 | |
| instance_label | No | 实例标签(不同的第三方需要和CodeArtsIDEOnline服务共同设定标签)。不传默认为classroom | |
| instance_user_id | No | 用户id | |
| instance_user_domain_id | No | 租户id(对应华为云帐号的domainId) |