60aef5d2e3
Move from `mark3labs/mcp-go` to `modelcontextprotocol/go-sdk`. This is mostly focused on updating tool schema and tool handler signatures, along with any associated internal changes related to those changes. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com> Co-authored-by: LuluBeatson <lulubeatson@github.com> Co-authored-by: Lulu <59149422+LuluBeatson@users.noreply.github.com> Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com> Co-authored-by: Sam Morrow <info@sam-morrow.com>
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
{
|
|
"annotations": {
|
|
"readOnlyHint": true,
|
|
"title": "Get repository tree"
|
|
},
|
|
"description": "Get the tree structure (files and directories) of a GitHub repository at a specific ref or SHA",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"required": [
|
|
"owner",
|
|
"repo"
|
|
],
|
|
"properties": {
|
|
"owner": {
|
|
"type": "string",
|
|
"description": "Repository owner (username or organization)"
|
|
},
|
|
"path_filter": {
|
|
"type": "string",
|
|
"description": "Optional path prefix to filter the tree results (e.g., 'src/' to only show files in the src directory)"
|
|
},
|
|
"recursive": {
|
|
"type": "boolean",
|
|
"description": "Setting this parameter to true returns the objects or subtrees referenced by the tree. Default is false",
|
|
"default": false
|
|
},
|
|
"repo": {
|
|
"type": "string",
|
|
"description": "Repository name"
|
|
},
|
|
"tree_sha": {
|
|
"type": "string",
|
|
"description": "The SHA1 value or ref (branch or tag) name of the tree. Defaults to the repository's default branch"
|
|
}
|
|
}
|
|
},
|
|
"name": "get_repository_tree"
|
|
} |