list_files_recursive
List all files in a repository recursively, showing paths, extensions, and sizes. Specify a branch name or commit hash as required parameter, and optionally limit recursion depth.
Instructions
List all files in a repository recursively as a flat tree. Returns file paths, extensions, and sizes. The commitHash parameter is required (use a branch name like 'main') — without it the API returns 400. Use the depth parameter (0-10) to limit recursion. For browsing a single directory, use list_files instead.
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": {
"owner": "<owner>",
"project": "<project>",
"commitHash": "<commitHash>"
},
"name": "list_files_recursive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Recursion depth (default 0, max 10) | |
| owner | Yes | Project owner alias | |
| project | Yes | Project alias | |
| directory | No | Root directory for the listing | |
| commitHash | Yes | Commit hash or branch name (required — API returns 400 without it) |