github_ls
List a connected GitHub repository's files at a path, or read one file (at most 64 KB). This call asks no human.
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": {
"repository": "<repository>"
},
"name": "github_ls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or commit. Default: the repository's default branch. | |
| path | No | A directory to list, or a file to read. Omit for the top. | |
| match | No | Only paths matching this glob, like *.rs or src/**. | |
| repository | Yes | GitHub repository owner/name. |