List Repo Tree Tool
list_repo_tree_toolList the git tree (files and directories) of a GitHub repository.
Instructions
List the git tree (files and directories) of a GitHub repository.
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_repo_tree_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | No | Repository owner (defaults to GITHUB_DEFAULT_ORG if unset) | |
| tree_sha | No | Tree SHA, branch name, or "HEAD" (default: HEAD) | HEAD |
| recursive | No | Recurse into subtrees (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||