# manage_group_events

**Add, change or delete group events**

Users with access to a group · destructive

Adds, changes and deletes the events on a group’s calendar, for people who hold Calendar on the group, a group permission its owners hold and give with [`manage_access`](https://withopenbook.com/docs/tools/manage_access) (calendar). add puts an event on a group’s calendar for everyone who sees the group: a title, a start and an end, and if you like a time_zone to show it in, a location and notes. An event happens once, with no repeats, and invites nobody. change takes the event and what to change, and null takes its time zone, location or notes off. delete deletes it for everyone, so confirm that with the user first. A group’s calendar holds up to 500 events: once it’s full, delete ones that are past before adding more. Openbook doesn’t tell anyone when one is added or changed.

## Parameters

| Parameter | Type | Required | Limits | What |
|---|---|---|---|---|
| `action` | `"add" \| "change" \| "delete"` | required |  |  |
| `group` | `string` | optional |  | The group whose calendar it goes on, from [`my_access`](https://withopenbook.com/docs/tools/my_access). For add. |
| `event` | `string` | optional |  | The event to change or delete, by its id from [`group_events`](https://withopenbook.com/docs/tools/group_events). |
| `title` | `string` | optional | up to 200 characters |  |
| `all_day` | `boolean` | optional |  | true for an event that lasts whole days, off until it’s set. Changing it takes start and end again, as days or as times. |
| `start` | `string` | optional | up to 40 characters | When it starts: with all_day a day, like 2026-11-20; otherwise a time with its offset, like 2026-11-20T17:00:00-08:00. |
| `end` | `string` | optional | up to 40 characters | When it ends, never before it starts: with all_day its last day, so an event that lasts one day ends the day it starts; otherwise a time with its offset. |
| `time_zone` | `string or null` | optional | up to 64 characters | The time zone to show it in, by its name, like America/Los_Angeles. null on change takes it off. |
| `location` | `string or null` | optional | up to 300 characters | Where it is, in plain text. null on change takes it off. |
| `notes` | `string or null` | optional | up to 4000 characters | Plain text. null on change takes them off. |

## Who can use it

Users get it once they have access to a group, and each call is checked against that access. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.

Annotated **destructive**, so clients like ChatGPT ask the person before calling it.

## Errors

Errors carry a stable code and a message written for people. See [errors and their status codes](https://withopenbook.com/docs/api#errors).

HTTP:

```bash
curl https://api.withopenbook.com/v1/actions/manage_group_events \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "add",
  "group": "a1c4e7f0-2b5d-4c8e-9f1a-3b6d9e2c5f80",
  "title": "U12 practice",
  "start": "2026-11-21T09:00:00-08:00",
  "end": "2026-11-21T10:30:00-08:00",
  "time_zone": "America/Los_Angeles",
  "location": "Field 2"
}'
```

MCP:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "manage_group_events",
    "arguments": {
      "action": "add",
      "group": "a1c4e7f0-2b5d-4c8e-9f1a-3b6d9e2c5f80",
      "title": "U12 practice",
      "start": "2026-11-21T09:00:00-08:00",
      "end": "2026-11-21T10:30:00-08:00",
      "time_zone": "America/Los_Angeles",
      "location": "Field 2"
    }
  }
}
```

> IDs are made up. Get real ones from `my_access` and `search_contacts`, and send the person’s own OAuth token.
