delete_announcement
Permanently delete a Nextcloud announcement, including its comments and notifications. Requires admin privileges and the announcement ID.
Instructions
Delete an announcement from Nextcloud. Requires admin privileges.
This permanently removes the announcement and all associated comments and notifications. This action is irreversible.
Args: announcement_id: The numeric announcement ID. Use list_announcements to find IDs.
Returns: Confirmation message.
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": {
"announcement_id": "<announcement_id>"
},
"name": "delete_announcement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| announcement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |