roma__UpdateCommand
Modifies an existing ROMA Connect service command by ID, enabling you to update its name and description for a given instance, service, and project.
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": {
"command_id": "<command_id>",
"instance_id": "<instance_id>",
"name": "<name>",
"project_id": "<project_id>",
"service_id": "<service_id>"
},
"name": "roma__UpdateCommand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 服务命令名称,支持大小写字母,数字,中划线及下划线,长度2-50 | |
| command_id | Yes | 命令ID | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| service_id | Yes | 服务ID | |
| description | No | 服务命令描述,长度0-200 | |
| instance_id | Yes | 实例ID |