apply_code_patch
Replace an exact code block in a specified file with new code to apply targeted patches. Provide the file path and original snippet to update.
Instructions
Applies a code patch to a specific file by replacing original_code with new_code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_code | Yes | The new code block | |
| file_path | Yes | Absolute path to the file | |
| original_code | Yes | The exact code block to be replaced |