fetch_github_readme
Retrieve README files from GitHub repositories to access project overviews, installation guides, and usage examples for understanding codebases.
Instructions
Fetch README file from a GitHub repository.
USE THIS WHEN: You need the project overview, quick start, or basic documentation.
BEST FOR: Getting a high-level understanding of a project.
The README typically contains installation, usage examples, and project description.
For deeper code exploration, use:
- get_repo_tree() to see the complete file structure
- get_file_content() to read specific source files
Args:
repo: Repository in "owner/repo" format (e.g., "psf/requests")
max_bytes: Maximum content size, default 20KB
Returns: JSON with README content, size, and metadata
Example: fetch_github_readme("psf/requests") → Returns the requests README
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| max_bytes | No |