roma__UpdateAppQuota
Updates a client quota’s name, call limit, time window, or reset time to control how often an app can call ROMA APIs.
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": {
"app_quota_id": "<app_quota_id>",
"call_limits": "<call_limits>",
"instance_id": "<instance_id>",
"name": "<name>",
"project_id": "<project_id>",
"time_interval": "<time_interval>",
"time_unit": "<time_unit>"
},
"name": "roma__UpdateAppQuota"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头 | |
| remark | No | 参数说明和描述。 | |
| time_unit | Yes | 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天 | |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| reset_time | No | 首次配额重置时间点,不配置默认为首次调用时间计算 | |
| call_limits | Yes | 客户端配额的访问次数限制 | |
| instance_id | Yes | 实例ID | |
| app_quota_id | Yes | 客户端配额编号 | |
| time_interval | Yes | 流控的限定时间值 |