roma__CreateApiV2
Creates a ROMA API service interface in a specified Huawei Cloud instance and project, enabling you to define a service endpoint for applications to call.
Instructions
[ROMA] 添加一个API,API即一个服务接口,具体的服务能力。
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "roma__CreateApiV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID |