create_calendar_event
Create calendar events for course exams, assignments, and more, with optional dry-run validation to verify details before saving.
Instructions
Create a calendar event (fecha de examen, entrega, etc.).
By default runs in dry_run mode. Set dry_run=False to actually create.
Args: name: Event title. course_id: Course ID. timestart: ISO datetime (e.g. "2026-12-15T10:00:00") or unix timestamp. description: Optional event description. eventtype: Event type (course, user, group). Default: course. dry_run: If True (default), validate without creating.
Returns: JSON with validated status and eventid if created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| dry_run | No | ||
| course_id | Yes | ||
| eventtype | No | course | |
| timestart | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |