set_username_option
Toggle a username option such as active, catch_all, or can_login on or off to control mail forwarding, alias auto-creation, or login access.
Instructions
Turn a username option on or off.
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": {
"username_id": "<username_id>",
"option": "<option>",
"enabled": "<enabled>"
},
"name": "set_username_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | Yes | 'active': whether its aliases forward mail. 'catch_all': auto-create aliases for any address at the username. 'can_login': whether the username can be used to log in to the account. | |
| enabled | Yes | ||
| username_id | Yes | The id (UUID) of the item |