roma__CreateSpecialThrottlingConfigurationV2
Creates a special throttling configuration to limit API access for a specific app or tenant within a ROMA throttling policy, enabling per-object call caps.
Instructions
[ROMA] 流控策略可以限制一段时间内可以访问API的最大次数,也可以限制一段时间内单个租户和单个APP可以访问API的最大次数。
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": {
"call_limits": "<call_limits>",
"instance_id": "<instance_id>",
"object_id": "<object_id>",
"object_type": "<object_type>",
"project_id": "<project_id>",
"throttle_id": "<throttle_id>"
},
"name": "roma__CreateSpecialThrottlingConfigurationV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_id | Yes | 特殊APP的编号或特殊租户的帐号ID | |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| call_limits | Yes | 流控时间内特殊对象能够访问API的最大次数限制 | |
| instance_id | Yes | 实例ID | |
| object_type | Yes | 特殊对象类型 | |
| throttle_id | Yes | 流控策略的编号 |