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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_url": "<repo_url>"
},
"name": "get_repository_structure"
}
}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 |