preview_changes_enhanced
Preview code changes in multiple formats like unified or side-by-side diff views, with options to filter files, adjust context lines, and ignore whitespace changes.
Instructions
Enhanced change preview with multiple format options
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preview_changes_enhanced"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Preview format | |
| contextLines | No | Number of context lines | |
| ignoreWhitespace | No | Ignore whitespace changes | |
| filePattern | No | File pattern filter | |
| cwd | No | Working directory |