Create a new event as a draft (organizers)
event_createCreates a new event for the signed-in person, as the organizer dashboard's New event does: name, kind, dateStart, optional dateEnd (at most 14 days), venue and city. It is saved as a DRAFT nobody can find until published, and the creator is its organizer. FIRST CALL WITHOUT confirm returns a PREVIEW with a confirmToken and saves nothing; only when the person says yes, call again with the same arguments, confirm: true and that token. NAME_TAKEN comes with a free suggestion for webAddress. Refusals are read out as given. It requires a personal connector token. Optional startTime, endTime (one day) and color show in the preview. Write the product name in full: Sonar Connections. Optional hostedBy is a display line, not a co-host.
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": {
"name": "<name>",
"dateStart": "<dateStart>"
},
"name": "event_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Optional city. | |
| kind | No | "private event" for any party or gathering that is not a wedding or birthday; else birthday, wedding, conference, market and so on. Never ask the person to pick from a list. | |
| name | Yes | The event name as it should show. | |
| rsvp | No | With templateId: false leaves RSVP off. | |
| time | No | With templateId: the start time, HH:MM, 24 hour, local. | |
| color | No | Pass color, #rrggbb or a name. | |
| songs | No | With templateId: song requests on or off. | |
| venue | No | Optional venue name. | |
| confirm | No | Absent on the first call, which saves nothing; true with confirmToken saves. | |
| dateEnd | No | Optional last day, YYYY-MM-DD. | |
| endTime | No | Like "11:30 PM". | |
| private | No | True for a private event. | |
| hostedBy | No | Display line "Hosted by ...". Not a co-host. | |
| language | No | With templateId: the language of the guests' system text. | |
| dateStart | Yes | First day, YYYY-MM-DD, today or later. | |
| paletteId | No | With templateId: one of its palette ids. For the new draft only; an existing event's colors change through event_change_detail. | |
| startTime | No | Like "8:00 PM". | |
| templateId | No | Optional; a template id from the dashboard (birthday_party, quince_classic, baby_shower_soft, wedding_gallery). | |
| webAddress | No | Optional address after sonarconnections.com/event/. | |
| customColor | No | Optional #rrggbb; a hard to read color is refused with the closest readable shade. For the new draft only; an existing event's colors change through event_change_detail. | |
| confirmToken | No | The token the first call returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| kinds | No | ||
| address | No | ||
| created | No | ||
| eventId | No | ||
| message | No | ||
| preview | No | ||
| servedBy | No | ||
| suggestion | No | ||
| confirmToken | No |