get_changed_files
Get changed files on the current branch compared to a base branch, with file pattern and directory filters. Helps identify modifications for code review.
Instructions
Get a list of changed files on the current branch.
Args: base_branch: The base branch to compare against (default: development). file_filter: File pattern to filter (default: *.py for Python files). working_directory: Working directory (defaults to current directory).
Returns: List of changed file paths with change statistics.
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": "get_changed_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_branch | No | development | |
| file_filter | No | *.py | |
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |