Create custom alias
alias_create_customCreates a custom SimpleLogin alias with a user-defined prefix and a valid signed suffix, assigning mailboxes to receive its mail. Requires a signed suffix from alias_options_get.
Instructions
Create a custom SimpleLogin alias with a chosen prefix and suffix. First call alias_options_get to obtain a valid signed_suffix and confirm can_create is true, then pass that exact signed_suffix here with the desired alias_prefix and the mailbox_ids (from mailbox_list) that should receive mail. note and name are optional.
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": {
"alias_prefix": "<alias_prefix>",
"signed_suffix": "<signed_suffix>",
"mailbox_ids": "<mailbox_ids>"
},
"name": "alias_create_custom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the alias. | |
| note | No | Optional note stored on the alias. | |
| hostname | No | Website hostname this alias is created for (context only). | |
| mailbox_ids | Yes | Ids of mailboxes that will own and receive mail for this alias. | |
| alias_prefix | Yes | The local part chosen by the user (text before the suffix). | |
| signed_suffix | Yes | A signed_suffix value returned verbatim by alias_options_get. |