List a directory in GitHub
github_list_dirList files and folders at a repository path with names, types, sizes, and SHAs to inspect project structure for SEO and GitHub workflows.
Instructions
List files and folders at a path in a repository (name, type, size, sha).
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": "github_list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| path | No | ||
| repo | Yes | Repository as 'owner/name', e.g. 'octocat/my-site'. |