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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_id": "<source_id>",
"target_kind": "<target_kind>"
},
"name": "convert_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | ||
| target_kind | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||