List Mail Accounts
hestia_list_mail_accountsList all mailboxes in a HestiaCP mail domain with quotas, forward and autoreply flags, and status. Use it to browse every account on a domain before inspecting a single mailbox.
Instructions
List all mailboxes in a HestiaCP mail domain with quotas, forward/autoreply flags, and status via v-list-mail-accounts (MD5 password hashes are automatically redacted). Use when browsing all accounts on a mail domain; prefer hestia_get_mail_account for full alias/quota/forward details of one mailbox or hestia_mail_forward_audit (toolkit) for forward policy compliance. Returns { ok, targetId, command, data (map keyed by mailbox name) }.
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": {
"user": "<user>",
"domain": "<domain>"
},
"name": "hestia_list_mail_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | HestiaCP account username. | |
| domain | Yes | Domain name owned by the user. | |
| targetId | No | Configured target identifier (defaults to "default"). |