convert_model
Convert process models between Petri nets, BPMN, process trees, and POWL. Supports multiple source-target combinations for model transformation.
Instructions
Convert a process model from one representation to another.
source_id is any model handle (Petri net, BPMN, process tree, POWL).
target_kind is one of "petri_net", "bpmn", "process_tree".
Supported pairs:
→ petri_net: from bpmn, process_tree, powl
→ bpmn: from petri_net, process_tree
→ process_tree: from petri_net, bpmn, powl
Unsupported combinations raise InvalidKind. The new handle records
source_handle=source_id so lineage is debuggable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | ||
| target_kind | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||