kratos_get_process_defaults
Retrieve a Kratos process's default parameter names, values, types, and model-part references from its source to author a valid process block in ProjectParameters.
Instructions
Return a Kratos process' default settings -- parameter names, default values, coarse types (bool/number/string/array/json/null) and which parameters are model-part references -- parsed from its Python source' ValidateAndAssignDefaults block. This is the schema you need to author a process block in a ProjectParameters process list. python_module is a value from kratos_list_processes (e.g. 'assign_scalar_variable_process', 'vtk_output_process'). Returns {"error": ...} when the Kratos source is unavailable, the module is not found, or its defaults use a non-standard declaration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| python_module | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||