[WIP] Add schema descriptions for tool restrictions#7962
Closed
Copilot wants to merge 3 commits into
Closed
Conversation
Add comprehensive description to the tools property explaining: - Which 4 tools are available in included files - Which 9 tools are restricted to main workflows - Technical rationale for the restriction Included files support: bash, cache-memory, github, repo-memory Main workflow only: playwright, web-fetch, web-search, edit, agentic-workflows, serena, timeout, startup-timeout, safety-prompt This design ensures included files focus on shareable configurations while keeping workflow-specific tool behavior in main workflows. Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
12 tasks
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.
Implementation Complete: Tool Restrictions Documented
Changes Made
descriptionfield totoolsproperty inincluded_file_schema.jsonImplementation Summary
File Modified:
pkg/parser/schemas/included_file_schema.jsonAdded comprehensive documentation to the
toolsproperty description field explaining:Available Tools in Included Files (4):
bash- Shell command executioncache-memory- Persistent memory storagegithub- GitHub API operationsrepo-memory- Git-based persistent storageTools Restricted to Main Workflows (9):
playwright,web-fetch,web-search,edit,agentic-workflows,serenatimeout,startup-timeout,safety-promptDesign Rationale:
Validation
✅ Build: Successfully rebuilt with schema changes embedded
✅ Tests: All unit tests pass (make test-unit)
✅ Schema Validation: Compiled test workflow with included file successfully
✅ No Breaking Changes: Existing functionality preserved
Technical Decision
Selected Option 1: Document the restriction rather than expand tool support
Rationale:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.