get_repository_tree
Displays a hierarchical tree of files and directories in an Azure DevOps repository, starting from an optional path and adjustable depth to inspect project structure.
Instructions
Displays a hierarchical tree view of files and directories within a single repository starting from an optional path
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": {
"repositoryId": "<repositoryId>"
},
"name": "get_repository_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path within the repository to start from | / |
| depth | No | Maximum depth to traverse (0 = unlimited) | |
| projectId | No | The ID or name of the project (defaults to AZURE_DEVOPS_DEFAULT_PROJECT) | |
| repositoryId | Yes | The ID or name of the repository | |
| organizationId | No | The ID or name of the organization (defaults to configured organization) |