Create mailboxes
create_accountsCreates new GhosterMail mailboxes. Pass either 'names' (local parts of the addresses, the part before '@') or 'randomCount' to create mailboxes with random names. Returns the created mailboxes with their ids and full addresses.
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": "create_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional virtual folder path to group the mailboxes in the GhosterMail web app, e.g. "Projects/Shop". | |
| names | No | Local parts of the new addresses, e.g. ["john.smith"]. 3-200 characters: letters, digits, '-', '_' and '.'. | |
| lastName | No | Optional last name of the mailbox owner (only with 'names'). | |
| firstName | No | Optional first name of the mailbox owner (only with 'names'). | |
| randomCount | No | Number of mailboxes with random names to create (used when 'names' is not passed). |