fetch_repo_content
Analyze a Git repository to extract and list application requirements from README and deployment YAML files. Get hardware and software needs without any cluster involvement.
Instructions
Extract and list application requirements from a repository. NO cluster involvement.
⚠️ ALWAYS USE THIS TOOL when user asks about requirements WITHOUT mentioning cluster:
- "what are the requirements for X?"
- "what does X need to run?"
- "analyze requirements for X"
- "list the requirements for X"
- "what hardware/software does X need?"
KEY: If the question is ONLY about the app's needs (not about "can I install it?"), use this tool.
⛔ DO NOT USE when user asks about deployment/installation/compatibility with their cluster.
For those questions, use check_feasibility instead.
This tool ONLY analyzes the repository. It does NOT:
- Scan any cluster
- Check cluster compatibility
- Determine if installation is possible
Args:
repo_url: Full GitHub or GitLab repository URL
Examples:
- https://github.com/nvidia/nemo
- https://gitlab.com/project/repo
Returns:
Dictionary containing:
- success: Boolean indicating if the operation was successful
- repo_info: Repository metadata (platform, owner, repo name)
- readme_content: README text for LLM to analyze
- deployment_files: List of deployment YAML files with content and parsed resources
- yaml_extracted_requirements: Summary of requirements found in YAML files
- instructions_for_llm: Guidance for the LLM on how to analyze the data
Example:
>>> fetch_repo_content("https://github.com/kubernetes/kubernetes")
{
"success": True,
"repo_info": {...},
"readme_content": "# Kubernetes...",
"deployment_files": [...],
"yaml_extracted_requirements": {...}
}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_url | Yes |