diff_ast
Compare two TypeScript or JavaScript files to detect structural changes, reporting added, removed, or modified symbols. Use to understand code differences between file versions.
Instructions
Compares two TypeScript/JavaScript files structurally, reporting added/removed/modified symbols
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"old_path": "<old_path>",
"new_path": "<new_path>"
},
"name": "diff_ast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_path | Yes | Absolute path to the new version of the file | |
| old_path | Yes | Absolute path to the old version of the file |