treeflow_create_leaf
Create a new node within a branch of a chatbot flow. Choose from supported leaf types—message, input, condition, action, webhook, or trigger context—to extend the conversation logic.
Instructions
Crea un nuevo nodo (leaf) dentro de una rama. Tipos soportados: message, input, condition, action, webhook, trigger_context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Configuración JSON del nodo (ej. plantilla de mensaje, opciones, condiciones) | |
| branch_id | Yes | ID de la rama | |
| leaf_type | Yes | Tipo de nodo: message, input, condition, action, webhook, trigger_context | |
| canvas_position | No | Posición x, y en el lienzo { x: number, y: number } |