compile_business_workflow
Compile a portable workflow draft from business primitives. Set the objective, inputs, loop, and iteration caps to generate an inspectable definition with state transitions and RBAC policies.
Instructions
Compile a portable workflow draft from Lightbulb business primitives.
The SDK is the source of truth. This tool performs no network calls and no writes. It emits an inspectable definition with tenant/company/RBAC policy, approval gates, hidden setup, state transitions, recovery, and a test plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| inputs | No | {} | |
| objective | Yes | ||
| owner_role | No | workflow_owner | |
| primitive_ids | No | ||
| trigger_event | No | ||
| workflow_name | No | ||
| workflow_type | No | ||
| max_iterations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |