make_calendar
Creates a new CalDAV calendar collection with optional color, description, and component types; use the returned URL to manage events or tasks.
Instructions
Create a new calendar collection on the CalDAV server with optional color, description, and component types. A timezone is accepted but not applied yet (the result says so). The URL is derived from display_name. If a calendar already exists at that URL, nothing is created and the error names the existing calendar — use it instead of creating another. If the URL is only held by something else (e.g. a deleted calendar in the trash bin), a numeric suffix is added (-2, -3, ...). Always use the URL returned in the response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Optional: Calendar color in hex format (e.g., #FF5733) | |
| timezone | No | Currently NOT applied: the calendar is created with the server's default timezone and the result says so (issue #78). Timezone ID (e.g., Europe/Berlin). | |
| components | No | Optional: Supported component types. If omitted, nothing is sent and the server applies its own default. Use ["VEVENT"] for events only, ["VTODO"] for tasks only, ["VEVENT", "VTODO"] for both. | |
| description | No | Optional: Calendar description | |
| display_name | Yes | Display name for the new calendar |