clean_case
Remove OpenFOAM case outputs (later time directories, postProcessing data, logs, processor folders) and optionally the mesh to reset a case for rerun.
Instructions
Remove results: time directories after the first, postProcessing, logs, processor dirs and optionally the mesh.
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": {
"case": "<case>"
},
"name": "clean_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | Yes | Case name in the workspace (e.g. 'pitzDaily') or an absolute path inside an allowed root. | |
| keep_logs | No | ||
| keep_mesh | No | Keep constant/polyMesh. Mesh removal is refused when the case cannot regenerate it. | |
| keep_processor | No | Keep processor* (decomposed) directories. |