midnight-get-file-at-version
Retrieve the exact content of a file at a specific version or branch to ensure code recommendations align with the user's current version.
Instructions
Get the exact content of a file at a specific version. CRITICAL: Use this to ensure code recommendations match the user's version. Always prefer this over get-file when version accuracy matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name (e.g., 'compact', 'midnight-js') | |
| path | Yes | File path within repository | |
| version | Yes | Version tag (e.g., 'v1.0.0') or branch (e.g., 'main') |