create_inbound_rule
Create an inbound email routing rule for a domain to match incoming messages and forward, webhook, or drop them by priority.
Instructions
Create an inbound email routing rule for a domain.
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": {
"domain_id": "<domain_id>"
},
"name": "create_inbound_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Rule name. | |
| action | No | Action to take (e.g. forward, webhook, drop). | |
| priority | No | Rule priority (lower = higher priority). | |
| domain_id | Yes | Sending domain ID. | |
| match_type | No | Match type (e.g. header, envelope). | |
| destination | No | Destination URL or email. | |
| match_value | No | Value to match against. |