propose_update_rule
Preview changes to an existing email rule without applying them. Get a draft ID showing affected fields before and after.
Instructions
PREVIEW changing an existing rule. Changes nothing — returns a draft_id.
Shows the affected fields before and after. Commit with apply_rule.
Args:
rule_id: The rule_id from list_rules.
changes: Fields to change. Any of displayName, isEnabled, sequence,
conditions, actions, exceptions. Enabling a dormant rule is just
{"isEnabled": true}.
Each field given REPLACES the existing value outright — passing a partial
conditions object drops every condition not listed. Read-only rules cannot
be changed through Graph at all; edit those in Outlook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| rule_id | Yes |