create_inbound_route
Creates an inbound email routing rule to match addresses by exact, prefix, or catch-all pattern and send matched messages to a webhook.
Instructions
Create a routing rule for inbound email.
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>",
"pattern": "<pattern>",
"match_type": "<match_type>"
},
"name": "create_inbound_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Address pattern to match | |
| priority | No | Route priority (default 0, higher is checked first) | |
| domain_id | Yes | Domain UUID | |
| match_type | Yes | How to match the pattern | |
| webhook_url | No | Webhook URL that receives matched emails |