← Back to Program Building
OpenClaw program-building

Repair vs rebuild for generated tools

Use this page when a generated helper already works for its core job and you need to improve it without breaking the baseline.

Default ruleIf the tool already does the core job, prefer targeted repair over rebuild.

What targeted repair preserves

When repair is drifting into rebuild

What to ask for

Name the existing tool path, preserve the current working behavior, fix only the exact defect, and verify both the original baseline and the repaired path.