add mail account
add_mail_accountCreate a mailbox for a domain in HestiaCP by providing user, password, and optional quota. Enables automated provisioning of email accounts.
Instructions
Create a mailbox. Executes verified command v-add-mail-account.
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>",
"account": "<account>",
"password": "<password>"
},
"name": "add_mail_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| quota | No | ||
| domain | Yes | ||
| account | Yes | ||
| password | Yes | Sensitive value; never logged |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| command | Yes |