Create event (drafts when it has guests)
create_eventTwo kinds of event. Mode "classic" is a free share-the-link poll: it asks about days (or a morning/afternoon/evening), has NO guest list and NO exact times — anyone with the link votes — and goes live immediately. Mode "ai" is an autopilot event: it takes a guest list (every guest needs an email; this door can only mail) and exact start times, becomes a draft on the organizer's drafts page, and nothing is mailed or charged until it is sent (send_invites, one credit). A classic create carrying guests or an exact time is refused, never silently converted. Needs the write permission.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"mode": "<mode>",
"dates": "<dates>"
},
"name": "create_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| dates | Yes | ||
| title | Yes | ||
| invites | No | ||
| timeLabel | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| next | No | ||
| draft_id | No | ||
| event_id | No | ||
| public_url | No | ||
| review_url | No | ||
| console_url | No | ||
| spends_credit | No |