Conversation
…gured Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] The safe outputs missing-tool should be enabled by default. And it can be turned off by setting missing-tool false.
The description of missing tool should also accept tool that did not have permissions to run.
Enable missing-tool safe output by default when safe-outputs is configured
Oct 1, 2025
pelikhan
approved these changes
Oct 1, 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.
Overview
This PR enables the
missing-toolsafe output by default wheneversafe-outputs:is configured in an agentic workflow. Users can now benefit from automatic tool limitation reporting without explicit configuration, while still having the option to opt-out usingmissing-tool: false.Problem
Previously, workflows had to explicitly configure
missing-toolto track unavailable tools or permission errors:This meant users weren't getting visibility into tool limitations unless they knew to configure this feature.
Solution
Default Behavior: When
safe-outputs:is configured,missing-toolis automatically enabled with default settings (unlimited max).Explicit Disable: Users who don't want missing-tool reporting can disable it:
Permission Error Detection: The existing engine implementations already automatically detect and report tools that failed due to insufficient permissions. This PR enhances the documentation to clarify this capability.
Changes
Core Implementation
parseMissingToolConfig()to handle booleanfalsevalue for explicit disablingextractSafeOutputsConfig()to enable missing-tool by default when safe-outputs section existsmissing-tool: falseTests
missing-tool: falseDocumentation
Workflow Compilation
missing_tooljob automaticallyBenefits
Backward Compatibility
✅ Existing workflows with explicit
missing-toolconfiguration continue to work unchanged✅ Workflows without
safe-outputsare not affected✅ New default only applies when
safe-outputs:section exists✅ Users can opt-out with
missing-tool: falseTesting
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.