create_case
Set up a new OpenFOAM case by cloning a tutorial or copying an existing case, with optional results inclusion or overwrite.
Instructions
Create a case by cloning a tutorial or copying an existing case (results are left behind unless include_results).
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": {
"name": "<name>",
"source": "<source>"
},
"name": "create_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New case name (directory) in the workspace. | |
| source | Yes | Tutorial path from list_tutorials (e.g. 'incompressibleFluid/pitzDaily') or an existing case name/path to copy. | |
| overwrite | No | Replace an existing case with this name. | |
| include_results | No | When copying a case, also copy time directories, logs and postProcessing. |