Rename toolset to toolsets in GitHub tool configuration#2648
Merged
Conversation
- Updated JSON schema: Changed "toolset" to "toolsets" in main_workflow_schema.json - Updated Go code: Changed field reference in mcp_servers.go and mcp-config.go - Updated all test files: Changed test cases to use "toolsets" - Updated documentation: Changed .md files in .github/instructions/ - Updated workflow files: Changed all workflow .md files - All tests passing - Binary rebuilt with embedded schema Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Rename toolset to toolsets in schema
Rename Oct 28, 2025
toolset to toolsets in GitHub tool configuration
Contributor
|
Agentic Changeset Generator triggered by this pull request. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR renames the toolset field to toolsets in GitHub tool configuration to align with the GitHub MCP server's naming conventions (--toolsets flag and GITHUB_TOOLSETS environment variable).
Key Changes:
- Updated JSON schema property definition from
toolsettotoolsets - Modified Go code to read and validate the new field name
- Updated all test cases and integration tests to use
toolsets - Updated documentation and 13 workflow files to use the new field name
Reviewed Changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
pkg/workflow/mcp_servers.go |
Changed field lookup from toolset to toolsets in getGitHubToolsets() |
pkg/workflow/mcp-config.go |
Updated known field validation map to recognize toolsets |
pkg/workflow/github_toolset_test.go |
Updated all unit test cases to use toolsets field |
pkg/workflow/github_toolset_integration_test.go |
Updated integration test workflows to use toolsets field |
pkg/parser/schemas/main_workflow_schema.json |
Renamed schema property and updated all examples |
docs/src/content/docs/reference/frontmatter-full.md |
Updated documentation reference |
.github/workflows/*.md |
Updated 13 workflow files to use new field name |
.github/instructions/*.instructions.md |
Updated instructional content and glossary entries |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Mossaka
approved these changes
Oct 28, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Aligns field naming with the GitHub MCP server's
--toolsetsflag andGITHUB_TOOLSETSenvironment variable convention.Changes
Schema
toolset→toolsetsinmain_workflow_schema.jsonproperty definition and examplesGo code
mcp_servers.go: UpdatedgetGitHubToolsets()to readtoolsetsfieldmcp-config.go: UpdatedknownToolFieldsvalidation mapTests
toolsetsDocumentation & workflows
Migration
Old syntax is rejected with helpful error:
New syntax:
Reference: https://github.com/github/github-mcp-server#available-toolsets
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.