list_source_files
List repository files and filter by directory prefix to explore source code. Provide owner/repo and optional path to find relevant implementation files.
Instructions
List files in a repository, optionally filtered by directory prefix.
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": "<repo>"
},
"name": "list_source_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory prefix filter (e.g. 'src/') | |
| repo | Yes | Repository identifier (owner/repo) |