delete_rule
Remove a specific masking rule from a policy by rule ID, enabling fine-grained deletion without affecting the entire policy.
Instructions
Remove a specific masking rule from a policy.
Allows fine-grained removal of individual rules
without deleting the entire policy.
Use get_rules first to identify the rule_id you want to remove.
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": {
"policy_id": "<policy_id>",
"rule_id": "<rule_id>"
},
"name": "delete_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | Raw policy ID containing the rule. Do not URL-encode. | |
| rule_id | Yes | Raw rule ID to delete. Do not URL-encode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||