create_workshop
Creates a new workshop definition together with at least one session
(workshops_attributes). Required fields: name (multilingual hash)
and workshops_attributes (non-empty). Image fields (banner_image,
background_image) are not supported via this API.
The response carries the workshop definition only; fetch the created
session(s) and their GUIDs with list_sessions.
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": {
"uuid": "<uuid>",
"name": "<name>",
"workshops_attributes": "<workshops_attributes>"
},
"name": "create_workshop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Multilingual hash. Must include the event's default language. | |
| uuid | Yes | Event public UUID. Used in all event-scoped API paths. | |
| price | No | Per-attendee_type price. Keys: attendee_type IDs (as strings) from `list_attendee_types`; values: numeric strings (e.g. "0", "150.00"). | |
| description | No | Multilingual description keyed by locale (`en`, `es`, `fr`, `pt`, `de`). | |
| workshops_attributes | Yes | Object with arbitrary keys; each value is one session. | |
| show_for_attendee_type | No | Whitelist of attendee types that can see/book this workshop. Keys: attendee_type IDs (as strings) returned by `list_attendee_types`; values: "true" or "false". Omitting the field (or sending `{}`) hides the workshop from every attendee type — entries must be present and set to "true" to grant visibility. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| status | No |