import_flowgraph_to_case
Convert a Flowgraph graph.json back into a ProjectParameters.json for Kratos simulations. Restores case parameters from a saved graph, supporting round-trip with export_case_to_flowgraph.
Instructions
Convert a Flowgraph (litegraph) graph.json -- as saved by the Kratos FlowGraph editor -- back into a ProjectParameters.json. Returns the parameters; when output_file is given it is also written there. Round-trips with export_case_to_flowgraph.
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": {
"graph_file": "<graph_file>"
},
"name": "import_flowgraph_to_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_file | Yes | ||
| output_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||