list_project_files
List files and directories in a CERN GitLab project repository by path or recursively to inspect source code and documentation.
Instructions
List files and directories in a CERN GitLab project's repository. Supports recursive listing and path specific lookups.
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": "<project>"
},
"name": "list_project_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch name, tag, or commit SHA (default: project's default branch) | |
| path | No | Directory path within the repository (default: root '/') | |
| project | Yes | Project identifier — either a numeric ID (e.g. '12345') or a namespace/project path (e.g. 'atlas/athena') | |
| per_page | No | Number of entries to return | |
| recursive | No | If true, list files recursively |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||