stalwart_delete_mailing_list
Delete a mailing list by specifying its list ID. Set confirm=True to authorize the destructive action; otherwise no deletion occurs.
Instructions
Delete a mailing list. Destructive — confirm=True.
Args: list_id: list id (from stalwart_list_objects(obj_type='mailing_list')) confirm: must be True to proceed
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": {
"list_id": "<list_id>"
},
"name": "stalwart_delete_mailing_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| list_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||