aom__CreateComponent
Create a new component in Huawei Cloud AOM under an application or sub-application by specifying its name, parent model ID, and model type.
Instructions
[AOM] 该接口用于新增组件。
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": {
"model_id": "<model_id>",
"model_type": "<model_type>",
"name": "<name>"
},
"name": "aom__CreateComponent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 组件名称 | |
| model_id | Yes | 应用Id、子应用Id,id长度不能超过36位,由大小写字母、数字组成 | |
| model_type | Yes | 应用、子应用,取值:APPLICATION、SUB_APPLICATION ,不区分大小写 | |
| description | No | 组件描述 |