email_domains_list
Retrieve email domains and their IDs to list or create mailboxes in the correct container; optionally filter by site when needed.
Instructions
List email (mail) domains — the containers that mailboxes live in. Maps to GET /api/email/domains, or GET /api/sites/{site_id}/email/domains when site_id is given. Use the returned id as domain_id for mailboxes_list / mailbox_create. Compact by default (the full object embeds the whole SSL certificate record).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "email_domains_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Return essential fields only (default). false = full objects. | |
| site_id | No | Only email domains attached to this site |