roma__CreateLiveDataApiV2
Creates a backend API in a specified ROMA instance, letting you define its request path, HTTP method, version, parameters, and response type for API integration.
Instructions
[ROMA] 在某个实例中创建后端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": {
"content_type": "<content_type>",
"instance_id": "<instance_id>",
"method": "<method>",
"name": "<name>",
"path": "<path>",
"project_id": "<project_id>",
"roma_app_id": "<roma_app_id>",
"version": "<version>"
},
"name": "roma__CreateLiveDataApiV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 后端API名称。 | |
| path | Yes | 后端API请求路径。 | |
| method | Yes | 后端API请求方法。 | |
| version | Yes | 后端API版本 | |
| parameters | No | 后端API的请求参数列表 | |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| description | No | 后端API描述。 | |
| instance_id | Yes | 实例ID | |
| roma_app_id | Yes | 后端API归属的集成应用编号 | |
| content_type | Yes | 后端API返回类型 | json |
| return_format | No | API响应信息是否格式化 | |
| api_signature_id | No | 后端API为签名认证时绑定的签名密钥编号 |