# Create new calendar event

#### **Method: `create_event(summary, description, start_time, end_time, attendees=None, timezone='UTC')`**

Creates a new calendar event.

### **Parameters**

| Parameter     | Type     | Description                                 |
| ------------- | -------- | ------------------------------------------- |
| `summary`     | str      | Event title                                 |
| `description` | str      | Event description                           |
| `start_time`  | datetime | Event start time                            |
| `end_time`    | datetime | Event end time                              |
| `attendees`   | list     | List of attendee email addresses (optional) |
| `timezone`    | str      | Timezone for the event (default: 'UTC')     |

### **Returns**

✅ A dictionary containing:

* `event_id` (str) – The created event’s ID
* `status` (str) – Event status (e.g., 'confirmed')

### **Example Usage**

```python
event = calendar.create_event(
    summary="Team Meeting",
    description="Weekly team sync",
    start_time=datetime(2024, 3, 15, 14, 0),
    end_time=datetime(2024, 3, 15, 15, 0),
    timezone='UTC'
)
print(event)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.groclake.ai/lakes/tool-management-and-gateway/toollake/google-calendar-integration/create-new-calendar-event.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
