Feature Request: GitHub Connector - read_file Support
Problem
The GitHub Connector can currently only read commits (list_commits, get_commit), but cannot directly access current files in the repository.
This makes code reviews extremely cumbersome:
- You have to search through commit history
- Cannot read the current state of a file directly
- Workspace integration had
read_filefor local files – this is now missing
Use Case
As a developer, I want to:
- Read current files in the repo (e.g.,
src/lib/components/DialogMessage.svelte) - Do code reviews without searching commit history
- Inspect live code like with the old Workspace file system
Solution
Add read_file tool for GitHub Connector:
{
"tool": "read_file",
"arguments": {
"owner": "MY_NAME",
"repo": "MY_REPO",
"path": "PATH-TO-REPO"
}
}
Priority
HEssential for code-based assistance.
Context
This feature existed in the Workspace (formerly “Space”) file system and was crucial for code reviews. The GitHub Connector is a cost-saving replacement for Workspace, but lacks this critical functionality.