get_repository_structure
Generate the file structure of a GitHub repository with options to include, exclude, and set maximum depth for analysis. Supports advanced codebase exploration.
Instructions
Get the file structure of a GitHub repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
exclude_patterns | No | File patterns to exclude | |
github_token | No | Optional GitHub token | |
include_patterns | No | File patterns to include | |
max_depth | No | Maximum directory depth | |
repo_url | Yes | GitHub repository URL |
Input Schema (JSON Schema)
{
"properties": {
"exclude_patterns": {
"description": "File patterns to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"github_token": {
"description": "Optional GitHub token",
"type": "string"
},
"include_patterns": {
"description": "File patterns to include",
"items": {
"type": "string"
},
"type": "array"
},
"max_depth": {
"default": 3,
"description": "Maximum directory depth",
"type": "number"
},
"repo_url": {
"description": "GitHub repository URL",
"type": "string"
}
},
"required": [
"repo_url"
],
"type": "object"
}