create_announcement
Create Nextcloud announcements for targeted groups. Configure activities, notifications, emails, and comments to keep users informed.
Instructions
Create a new announcement in Nextcloud. Requires admin privileges.
Announcements are posted to the Announcement Center and optionally trigger activity entries, notifications, and/or emails for the targeted groups.
Args: subject: Announcement title (1-512 characters, required). message: Announcement body in Markdown format. plain_message: Plain text version of the body. If empty, the markdown message is used as fallback. groups: List of group IDs to target (e.g. ["admin", "staff"]). Default: ["everyone"] (visible to all users). activities: Post to the activity stream (default: true). notifications: Send in-app notifications (default: true). emails: Send email notifications (default: false). comments: Allow comments on this announcement (default: true).
Returns: JSON object with the created announcement details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | No | ||
| groups | No | ||
| message | No | ||
| subject | Yes | ||
| comments | No | ||
| activities | No | ||
| notifications | No | ||
| plain_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |