create-rule
Creates a new Outlook inbox rule to automatically sort, move, or mark matching emails as read based on sender, subject, or attachments.
Instructions
Creates a new inbox rule
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": {
"name": "<name>"
},
"name": "create-rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the rule to create | |
| sequence | No | Order in which the rule is executed (lower numbers run first, default: 100) | |
| isEnabled | No | Whether the rule should be enabled after creation (default: true) | |
| markAsRead | No | Whether to mark matching emails as read | |
| moveToFolder | No | Name of the folder to move matching emails to | |
| fromAddresses | No | Comma-separated list of sender email addresses for the rule | |
| hasAttachments | No | Whether the rule applies to emails with attachments | |
| containsSubject | No | Subject text the email must contain |