codeartspipeline__SwitchStrategy
Update a CodeArts Pipeline strategy's validity state for a tenant and rule set, enabling or disabling the policy as needed.
Instructions
[CODEARTSPIPELINE] 修改策略状态
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": {
"domain_id": "<domain_id>",
"is_valid": "<is_valid>",
"rule_set_id": "<rule_set_id>"
},
"name": "codeartspipeline__SwitchStrategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_valid | Yes | 规则模版实例状态 | |
| domain_id | Yes | 租户ID | |
| rule_set_id | Yes | 策略ID |