You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Complete flow YAML including modules array, and optionally preprocessor_module and failure_module'
65
+
'Complete flow YAML including modules array, and optionally schema (for flow inputs), preprocessor_module and failure_module'
66
66
)
67
67
})
68
68
69
69
constsetFlowYamlToolDef=createToolDef(
70
70
setFlowYamlSchema,
71
71
'set_flow_yaml',
72
-
'Set the entire flow structure using YAML. Use this for changes to the flow structure. The YAML should include the complete modules array, and optionally preprocessor_module and failure_module. All existing modules will be replaced.'
72
+
'Set the entire flow structure using YAML. Use this for changes to the flow structure and/or input schema. The YAML should include the complete modules array, and optionally schema (for flow inputs), preprocessor_module and failure_module. All existing modules will be replaced.'
73
73
)
74
74
75
75
classWorkspaceScriptsSearch{
@@ -377,6 +377,18 @@ When the user requests modifications to the flow structure (adding steps, removi
377
377
### YAML Structure
378
378
The YAML must include the complete flow definition:
4. Set appropriate \`input_transforms\` to pass data between steps
476
488
477
489
### Flow Input Schema
478
-
The flow's input schema is defined separately in the flow object (not in YAML). When using \`flow_input\` properties, ensure they exist in the schema. For resource inputs, use:
490
+
The flow's input schema can be included in the YAML at the top level using the \`schema\` key. It follows JSON Schema format. When using \`flow_input\` properties in modules, ensure they exist in the schema. For resource inputs, use:
0 commit comments