Confirm bulk automation rule changes
yardstick_automation_rules_bulkSwitch rules on, off or delete them. First use mode=preview with rule_ids or filter. Show the affected rules and skipped rules to the user and get explicit confirmation BEFORE applying. Then use mode=apply with only the exact rule_ids returned by preview; never reapply the filter. Rules that need a step or fail activation validation are skipped when switching on. Show each skipped rule's reason. Warn that shared pipeline rules change for every job on that pipeline, including jobs outside the filter.
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": {
"action": "<action>",
"mode": "<mode>"
},
"name": "yardstick_automation_rules_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| action | Yes | ||
| filter | No | ||
| rule_ids | No | ||
| request_id | No | ||
| idempotency_key | No |