stalwart_create_api_key
Create a new API key to authenticate with Stalwart Mail Server. Provide a description and optional permissions; the token is shown only once.
Instructions
Create a new API key (token shown ONCE in response).
Note: the ApiKey object has no 'name' field — only description.
Args: description: human-readable description (required) permissions: permission list; defaults to server default
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": {
"description": "<description>"
},
"name": "stalwart_create_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| permissions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||