github_git_get_tree
Retrieve a Git tree object from a repository. Optionally include recursive subtrees by setting the recursive parameter.
Instructions
Get a tree
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>",
"repo": "<repo>",
"tree_sha": "<tree_sha>"
},
"name": "github_git_get_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | repo | |
| owner | Yes | owner | |
| tree_sha | Yes | tree_sha | |
| recursive | No | Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `"true"`, and `"false"`. Omit this parameter to prevent recursively returning objects or subtrees. |