openDiff
Compare old and new file contents by providing file paths and new content. Opens a diff view with temporary files for visual comparison.
Instructions
Open a diff view comparing old file content with new file content. Creates temporary files on disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oldFilePath | Yes | Path to the old file | |
| newFilePath | Yes | Path to the new file | |
| newFileContents | Yes | Contents for the new file version | |
| tabName | Yes | Name for the diff tab |