projects: tool consolidation and prompt updates #1299
+1,139
−2,371
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.
This pull request consolidates and modernizes the GitHub Projects V2 tooling by replacing multiple granular project operations with two unified tools:
project_readfor all read operations andproject_writefor all write operations. These changes simplify both the codebase and the user interface for interacting with GitHub Projects, making the API surface more consistent and easier to use.Toolset refactor and consolidation:
list_projects,get_project,list_project_fields, etc.) with a singleProjectReadtool in theDefaultToolsetGroupfunction withinpkg/github/tools.go.add_project_item,delete_project_item,update_project_item) with a singleProjectWritetool in the same function.