write_fix_tool
Apply a unified diff to a file, run optional tests, and automatically rollback changes if tests fail.
Instructions
Apply a unified diff to a file; run optional tests and auto-rollback on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff_str | Yes | ||
| file_path | Yes | ||
| repo_root | No | ||
| test_command | No | ||
| allowed_test_commands | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||