get_repo_structure
Retrieves repository directory structure and file listings with extension counts, enabling code analysis and navigation.
Instructions
Get repository structure information with optional file listings.
Args:
repo_path: Path/URL matching what was provided to clone_repo
directories: Optional list of directories to limit results to
include_files: Whether to include list of files in response
Returns:
dict: {
"status": str,
"message": str,
"directories": [{
"path": str,
"analyzable_files": int,
"extensions": {
"py": 10,
"java": 5,
"ts": 3
},
"files": [str] # Only present if include_files=True
}],
"total_analyzable_files": int
}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| repo_path | Yes | ||
| directories | No | ||
| include_files | No | ||
| cache_strategy | No | shared |