file_history
Retrieve recent commits for a file with pull request and issue context to understand code changes and their purpose.
Instructions
Returns the N most recent commits that touched a file, each annotated with its associated pull request and linked issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the file | |
| limit | No | Number of commits to return (default 10) | |
| repo_path | No | Working directory / repo root (defaults to cwd) |