delete_rule
Permanently delete a Mail.app rule using its rule ID. A timestamped backup is created so deletion can be undone if needed.
Instructions
Permanently delete a Mail.app rule by its RuleId. A timestamped backup of SyncedRules.plist is made before writing so the deletion can be undone. Mail.app may need to be restarted for the change to take effect.
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": {
"rule_id": "<rule_id>"
},
"name": "delete_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | The RuleId of the rule to delete (from list_rules). |