create_diff
Modify existing files by generating and reviewing diffs before applying changes in VSCode. Ensures controlled updates with user approval for accuracy and safety.
Instructions
Use this instead of writing files directly. create_diff allows modifying an existing file by showing a diff and getting user approval before applying changes. Only use this tool on existing files. If a new file needs to be created, do not use this tool.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Description of the changes being made | |
filePath | Yes | Path to the existing file to modify | |
newContent | Yes | Proposed new content for the file | |
targetProjectPath | Yes | Path to the project folder we are working in |