roma__ExportApiDefinitionsV2
Exports API definitions from a ROMA group as a Swagger-compliant JSON, YAML, or YML file for documentation, migration, or integration.
Instructions
[ROMA] 导出分组下API的定义信息,导出文件内容符合swagger标准规范。
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": {
"group_id": "<group_id>",
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "roma__ExportApiDefinitionsV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apis | No | 导出的API ID列表 | |
| type | No | 导出的API定义的格式 | json |
| define | No | 导出API的定义范围: | spec |
| env_id | No | API分组发布的环境ID | |
| version | No | 导出的API定义版本,默认为当前时间 | |
| group_id | Yes | API分组ID | |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID |