Create Zuno Flow
create_flowCreate a draft Zuno flow from a template (template_key) or from a definition (spec). The draft is not visible to attendees until publish_flow. The response carries the draft's validation.
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": {
"event_id": "<event_id>"
},
"name": "create_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Overrides the name in the template or spec. | |
| spec | No | The flow definition (ZUNO-SPEC-01 section 5): name, description, intro, steps (single_select, multi_select, text, rating, number; options with ids), output (generate with prompt_template and tools, handoff with category, or record), entry (card, ask, link) and settings. Text fields are plain strings or {default_ln: ...} maps. Use validate_flow to check it. | |
| event_id | Yes | Event UUID returned by search_events. | |
| group_ids | No | Group UUIDs when access_level is groups. | |
| access_level | No | Who may start it. Default everyone. | |
| template_key | No | A key from list_flow_templates. Either template_key or spec. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes | ||
| hint | Yes | ||
| message | Yes |