roma__CreatePlugin
Creates a ROMA plugin using specified type, visibility scope, and JSON content to configure API gateway or integration instance behavior.
Instructions
[ROMA] 创建插件信息。
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>",
"plugin_content": "<plugin_content>",
"plugin_name": "<plugin_name>",
"plugin_scope": "<plugin_scope>",
"plugin_type": "<plugin_type>",
"project_id": "<project_id>"
},
"name": "roma__CreatePlugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remark | No | 插件描述,255字符。 | |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID | |
| plugin_name | Yes | 插件名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符。 | |
| plugin_type | Yes | 插件类型 | |
| roma_app_id | No | 归属集成应用编码,plugin_scope为app时生效 | |
| plugin_scope | Yes | 插件可见范围 | |
| plugin_content | Yes | 插件定义内容,支持json。参考提供的具体模型定义 |