create-rule
Create inbox rules to automatically organize Outlook emails by sender, subject, attachments, and move or mark messages based on your preferences.
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 | |
| fromAddresses | No | Comma-separated list of sender email addresses for the rule | |
| containsSubject | No | Subject text the email must contain | |
| hasAttachments | No | Whether the rule applies to emails with attachments | |
| moveToFolder | No | Name of the folder to move matching emails to | |
| markAsRead | No | Whether to mark matching emails as read | |
| isEnabled | No | Whether the rule should be enabled after creation (default: true) | |
| sequence | No | Order in which the rule is executed (lower numbers run first, default: 100) |