Create rule
create-ruleCreates a new Outlook inbox rule to automatically organize incoming messages by sender, subject, attachments, or read status; optionally move matching mail to a folder.
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 | Rule display name | |
| sequence | No | Execution order among rules | |
| isEnabled | No | Enable the rule immediately | |
| markAsRead | No | Mark matching messages as read | |
| moveToFolder | No | Folder to move matching messages into | |
| fromAddresses | No | Comma-separated sender addresses to match | |
| hasAttachments | No | Match messages with attachments | |
| containsSubject | No | Subject text to match |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |