roma__AssociateRequestThrottlingPolicyV2
Applies a request throttling policy to specified API publish records in ROMA, so all access to those APIs is limited by the selected policy.
Instructions
[ROMA] 将流控策略应用于API,则所有对该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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"publish_ids": "<publish_ids>",
"strategy_id": "<strategy_id>"
},
"name": "roma__AssociateRequestThrottlingPolicyV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID | |
| publish_ids | Yes | API的发布记录编号 | |
| strategy_id | Yes | 流控策略编号 |