- Notifications
You must be signed in to change notification settings - Fork2.7k
Add tool for project fields and items#1145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
14 commits Select commitHold shift + click to select a range
5b25f55
Add get project fields tool
JoannaaKLe76e309
Data types
JoannaaKLfe1dab5
Docs
JoannaaKL822c930
Update projectNumber's type
JoannaaKLad5f75c
Add list_project_items tool
JoannaaKL3521c35
Add get_project_item tool
JoannaaKL6112541
Merge branch 'main' into add-discussion-tools
JoannaaKL004edc0
Return minimal project
JoannaaKL7eabb43
Merge remote-tracking branch 'refs/remotes/upstream/add-discussion-to…
JoannaaKL4f1fd45
Merge remote-tracking branch 'refs/remotes/upstream/add-discussion-to…
JoannaaKL6750eb0
Merge remote-tracking branch 'refs/remotes/upstream/add-discussion-to…
JoannaaKLd95c154
Merge remote-tracking branch 'refs/remotes/upstream/add-discussion-to…
JoannaaKLb24bcd9
Merge remote-tracking branch 'refs/remotes/upstream/add-discussion-to…
JoannaaKL32d7809
Remove unused per_page
JoannaaKLFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"annotations": { | ||
"title": "Get project field", | ||
"readOnlyHint": true | ||
}, | ||
"description": "Get Project field for a user or org", | ||
"inputSchema": { | ||
"properties": { | ||
"field_id": { | ||
"description": "The field's id.", | ||
"type": "number" | ||
}, | ||
"owner": { | ||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.", | ||
"type": "string" | ||
}, | ||
"owner_type": { | ||
"description": "Owner type", | ||
"enum": [ | ||
"user", | ||
"org" | ||
], | ||
"type": "string" | ||
}, | ||
"project_number": { | ||
"description": "The project's number.", | ||
"type": "number" | ||
} | ||
}, | ||
"required": [ | ||
"owner_type", | ||
"owner", | ||
"project_number", | ||
"field_id" | ||
], | ||
"type": "object" | ||
}, | ||
"name": "get_project_field" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"annotations": { | ||
"title": "Get project item", | ||
"readOnlyHint": true | ||
}, | ||
"description": "Get a specific Project item for a user or org", | ||
"inputSchema": { | ||
"properties": { | ||
"item_id": { | ||
"description": "The item's ID.", | ||
"type": "number" | ||
}, | ||
"owner": { | ||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.", | ||
"type": "string" | ||
}, | ||
"owner_type": { | ||
"description": "Owner type", | ||
"enum": [ | ||
"user", | ||
"org" | ||
], | ||
"type": "string" | ||
}, | ||
"project_number": { | ||
"description": "The project's number.", | ||
"type": "number" | ||
} | ||
}, | ||
"required": [ | ||
"owner_type", | ||
"owner", | ||
"project_number", | ||
"item_id" | ||
], | ||
"type": "object" | ||
}, | ||
"name": "get_project_item" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"annotations": { | ||
"title": "List project items", | ||
"readOnlyHint": true | ||
}, | ||
"description": "List Project items for a user or org", | ||
"inputSchema": { | ||
"properties": { | ||
"owner": { | ||
"description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.", | ||
"type": "string" | ||
}, | ||
"owner_type": { | ||
"description": "Owner type", | ||
"enum": [ | ||
"user", | ||
"org" | ||
], | ||
"type": "string" | ||
}, | ||
"per_page": { | ||
"description": "Number of results per page (max 100, default: 30)", | ||
"type": "number" | ||
}, | ||
"project_number": { | ||
"description": "The project's number.", | ||
"type": "number" | ||
}, | ||
"query": { | ||
"description": "Search query to filter items", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"owner_type", | ||
"owner", | ||
"project_number" | ||
], | ||
"type": "object" | ||
}, | ||
"name": "list_project_items" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.