# Create Event Type

`lawmatics_create-event-type` · Lawmatics MCP tool · Event Types

Create an event type in Lawmatics with a name and default duration in minutes. Event types categorize calendar events in Lawmatics. The response includes a `relationships` envelope of {id,type} pointers to the events booked against it.

## Input

- **name** `string` (required) — Name of the event type (e.g. Initial Consultation, Seminar)
- **duration** `integer` (required, > 0) — Default event duration in minutes

## Output

- **id** `string` (required) — Lawmatics event type ID of the newly created event type
- **name** `string` (required) — Event type name
- **duration** `number` (required) — Default event duration in minutes
- **createdAt** `string` (required) — When the event type was created, as an ISO 8601 timestamp
- **updatedAt** `string` (required) — When the event type was last updated, as an ISO 8601 timestamp
- **relationships** `object` (required) — JSON:API relationship pointers to related records as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own get tool (e.g. type 'event' -> get-event).
  - **events** `array` (required) — Event pointers (type 'event') booked against this event type; empty if none
    - **[]** `object`
      - **id** `string` (required) — ID of the referenced Lawmatics record
      - **type** `string` (required) — JSON:API record class of the reference; resolve it by calling that resource's own tool
