Skip to content

Commit 52163a8

Browse files
fix: update tool input descriptions based on code review feedback
Co-authored-by: SamMorrowDrums <[email protected]>
1 parent ee58d2b commit 52163a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/github/github_mcp_gen.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/github/tool_inputs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ package github
1313
// SearchRepositoriesInput defines input parameters for the search_repositories tool.
1414
type SearchRepositoriesInput struct {
1515
Query string `json:"query" jsonschema:"required,description=Repository search query using GitHub search syntax"`
16-
Sort string `json:"sort" jsonschema:"description=Sort repositories by field (stars/forks/help-wanted-issues/updated),enum=stars|forks|help-wanted-issues|updated"`
16+
Sort string `json:"sort" jsonschema:"description=Sort repositories by field - defaults to best match,enum=stars|forks|help-wanted-issues|updated"`
1717
Order string `json:"order" jsonschema:"description=Sort order (asc/desc),enum=asc|desc"`
18-
MinimalOutput bool `json:"minimal_output" jsonschema:"description=Return minimal repository information (true by default)"`
18+
MinimalOutput bool `json:"minimal_output" jsonschema:"description=Return minimal repository information - when false returns full GitHub API objects"`
1919
Page int `json:"page" jsonschema:"description=Page number for pagination (min 1)"`
2020
PerPage int `json:"perPage" jsonschema:"description=Results per page for pagination (min 1 and max 100)"`
2121
}

0 commit comments

Comments
 (0)