graph_delete_message_rule
Delete an Outlook inbox rule by rule ID, optionally targeting a shared mailbox. Use it to remove automated sorting or forwarding rules that are no longer needed.
Instructions
Delete an inbox rule.
Args: rule_id: The rule ID (from graph_list_message_rules). mailbox: Shared mailbox address or user ID to act on. Empty targets your own mailbox. Requires the delegated Mail.*.Shared permissions.
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": "graph_delete_message_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | ||
| rule_id | Yes |