Enable/disable alias
alias_set_enabledEnable or disable a SimpleLogin alias by ID to control whether it accepts incoming mail. Disabling blocks mail silently without deleting the alias.
Instructions
Set a SimpleLogin alias to a specific enabled state. Pass enabled=true to enable or enabled=false to disable. A disabled alias silently blocks incoming mail without being deleted. Idempotent: setting the state it is already in changes nothing. Returns the resulting enabled state.
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_id": "<alias_id>",
"enabled": "<enabled>"
},
"name": "alias_set_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Desired state: true to enable the alias, false to disable it. | |
| alias_id | Yes | Numeric id of the alias to update. |