| name | LightFlow Control Merge |
| description | Use this skill when working with the lightflow.control_merge workflow that merges two JSON values. |
| version | 0.1.0 |
LightFlow Control Merge
Use lightflow.control_merge to combine two JSON values.
Workflow
- Workflow id:
lightflow.control_merge
- Runtime:
lightflow.control.merge.
- Inputs
a and b: optional JSON values.
- Input
mode: first_non_null, object, or array; default first_non_null.
- Outputs
value and selected.
Usage
lfw run lightflow.control_merge -i a='{"prompt":"cat"}' -i b='{"seed":1}' -i mode=object
API Usage
Start lfw serve, then call the workflow through the shared HTTP run contract. Adjust inputs to match the workflow contract above.
curl -sS -X POST http://127.0.0.1:5174/workflows/lightflow.control_merge/run \
-H 'content-type: application/json' \
-d '{"inputs":{}}'