read_repo_file
Read file contents from Git repositories to view source code, configuration, or documentation. Use this tool to access specific files by providing repository name and file path.
Instructions
Read the content of a single file from a Git repository.
USE THIS TOOL when the user wants to see source code, config, or content of a specific file. Get the path from browse_repo first.
Args: repo_name: Repository name. path: Full file path (e.g. '/src/main.py'). Use forward slashes. branch: Branch name (default: repo's default branch). project: Project name (default from config).
Returns the raw file content with metadata header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_name | Yes | ||
| path | Yes | ||
| branch | No | ||
| project | No |