Set Domain Mail Hosting
set_domain_mail_hostingEnable or disable mail hosting for a domain by setting enabled to true or false. This pure state change preserves the domain, mailboxes, and their settings.
Instructions
Enables or disables mail hosting for a domain. Set enabled=true to have MXroute handle mail for the domain, enabled=false to pause mail hosting. Pure state change: the domain, its mailboxes, and their settings are kept.
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": "<domain>",
"enabled": "<enabled>"
},
"name": "set_domain_mail_hosting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name on this account, e.g. example.com (letters, digits, hyphens; at least one dot) | |
| enabled | Yes | Whether MXroute hosts mail for the domain (true = enable, false = disable) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||