Skip to content

Commit 782cadc

Browse files
committed
re-enable get_label
1 parent 77771a2 commit 782cadc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,11 @@ The following sets of tools are available:
657657
- `owner`: Repository owner (string, required)
658658
- `repo`: Repository name (string, required)
659659

660+
- **get_label** - Get a specific label from a repository.
661+
- `name`: Label name. (string, required)
662+
- `owner`: Repository owner (username or organization name) (string, required)
663+
- `repo`: Repository name (string, required)
664+
660665
- **issue_read** - Get issue details
661666
- `issue_number`: The number of the issue (number, required)
662667
- `method`: The read operation to perform on a single issue.

pkg/github/tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
204204
toolsets.NewServerTool(SearchIssues(getClient, t)),
205205
toolsets.NewServerTool(ListIssues(getGQLClient, t)),
206206
toolsets.NewServerTool(ListIssueTypes(getClient, t)),
207-
// toolsets.NewServerTool(GetLabel(getGQLClient, t)),
207+
toolsets.NewServerTool(GetLabel(getGQLClient, t)),
208208
).
209209
AddWriteTools(
210210
toolsets.NewServerTool(IssueWrite(getClient, getGQLClient, t)),

0 commit comments

Comments
 (0)