Repair broken meshes in a project
repair_projectFind every imported mesh in one of your projects that is not watertight, and weld cracks, close holes and fix face directions. A non-watertight mesh cannot take part in a boolean — the evaluator degrades it to nothing — so a model built on one comes back missing a part with no error anywhere. Run this when a project contains an import and the geometry is not behaving. Pass dryRun to see what is broken without changing it.
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": {
"projectId": "<projectId>"
},
"name": "repair_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Report what is broken and change nothing (default false). | |
| nodeId | No | Repair only this mesh node. Omit to repair every broken one. | |
| version | No | The `version` get_project reported. Required only once a repair will actually write — a dry run, a project with no imported meshes, and one whose meshes are already sound all answer without it. | |
| projectId | Yes | The project whose imported meshes to check and repair. |