roma__UpdateRequestProperty
Updates an existing ROMA request property, letting you change its data type, required status, validation ranges, enum values, unit, and description.
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>",
"data_type": "<data_type>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"property_id": "<property_id>",
"property_name": "<property_name>",
"required": "<required>",
"service_id": "<service_id>"
},
"name": "roma__UpdateRequestProperty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | 最大值,当data_type为integer或number时必填 | |
| min | No | 最小值,当data_type为integer或number时必填 | |
| step | No | 步长,当data_type为integer或number时必填 | |
| unit | No | 属性单位 | |
| required | Yes | 是否必填 0-非必填 1-必填 | |
| data_type | Yes | 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 | |
| enum_dict | No | 当数据类型为boolean枚举值时填写json格式数据,形如"enum_dict":{"0":"xxx","1":"xxx"} | |
| enum_list | No | string的枚举值数组,使用逗号分隔 | |
| command_id | Yes | 命令ID | |
| max_length | No | 字符串最大长度,当data_type为string, datetime, json时必填,自动向下取整 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| service_id | Yes | 服务ID | |
| description | No | 属性描述,长度0-200 | |
| instance_id | Yes | 实例ID | |
| property_id | Yes | 属性/请求属性/响应属性ID | |
| property_name | Yes | 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 |