List Repository Tree
gitlab_list_repository_treeList files and directories in a GitLab repository tree by project ID, with optional path, ref, recursion, and pagination to explore project structure.
Instructions
List files and directories in a GitLab repository tree.
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": {
"project_id": "<project_id>"
},
"name": "gitlab_list_repository_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| page | No | ||
| path | No | ||
| per_page | No | ||
| recursive | No | ||
| project_id | Yes |