create_diff
Modify existing files by generating a diff for user review before applying changes. Ensures controlled updates to project files. Use for edits, not new file creation.
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 |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from vscode-mcp-server
Related Tools
- @8grackles/file-edit-check-server
- @wonderwhy-er/DesktopCommanderMCP
- @ryanjoachim/mcp-rtfm
- @8grackles/file-edit-check-server
- @shariqriazz/vertex-ai-mcp-server