Update Domain (preview, then confirm)
update_domainChange a sending domain's record host names (tracking_prefix, dkim_selector, dkim2_selector, image_prefix) and/or open tracking. Only the fields given change. A changed selector or prefix breaks the DNS records already published until the user publishes the new ones and runs verify_domain, so it shows a preview first and changes only with confirm: true.
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": "update_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to make the change. Leave it out first to get a preview, show it to the user, and ask them to confirm | |
| dry_run | No | Validate and show what would change without changing anything | |
| domain_id | Yes | Domain ID (from list_domains) | |
| image_prefix | No | New host label of the image record (letters, digits and dots, up to 25) | |
| dkim_selector | No | New DKIM selector (letters and digits, up to 3) | |
| open_tracking | No | Turn open tracking for Email API and SMTP mail on or off | |
| dkim2_selector | No | New second DKIM selector (letters and digits, up to 3) | |
| tracking_prefix | No | New host label of the tracking record (letters and digits, up to 25) |