Conversation
…ty policy Agent-Logs-Url: https://github.com/github/gh-aw/sessions/cb3a346e-d1da-4126-b4a0-bf147ac127f4 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
April 29, 2026 13:58
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the missing_tool tool description to guide agents to report security-policy-blocked bash commands via missing_tool (with reason set to "security").
Changes:
- Extend
missing_tool’s description text in two safe-outputs tool registries. - Keep the JS action copy and the Go-binary embedded copy in sync.
Show a summary per file
| File | Description |
|---|---|
actions/setup/js/safe_outputs_tools.json |
Adds guidance sentence to the missing_tool description used by the JS action. |
pkg/workflow/js/safe_outputs_tools.json |
Mirrors the same missing_tool description update for the Go-binary embedded copy. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 2
| { | ||
| "name": "missing_tool", | ||
| "description": "Report that a tool or capability needed to complete the task is not available, or share any information you deem important about missing functionality or limitations. Use this when you cannot accomplish what was requested because the required functionality is missing or access is restricted.", | ||
| "description": "Report that a tool or capability needed to complete the task is not available, or share any information you deem important about missing functionality or limitations. Use this when you cannot accomplish what was requested because the required functionality is missing or access is restricted. When a bash command is blocked by security policy, call this tool with reason set to \"security\".", |
| { | ||
| "name": "missing_tool", | ||
| "description": "Report that a tool or capability needed to complete the task is not available, or share any information you deem important about missing functionality or limitations. Use this when you cannot accomplish what was requested because the required functionality is missing or access is restricted.", | ||
| "description": "Report that a tool or capability needed to complete the task is not available, or share any information you deem important about missing functionality or limitations. Use this when you cannot accomplish what was requested because the required functionality is missing or access is restricted. When a bash command is blocked by security policy, call this tool with reason set to \"security\".", |
Closed
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.
Summary
Updates the
missing_tooltool description to explicitly suggest that agents call this tool when a bash command is blocked by security policy, passingreason: "security".Changes
actions/setup/js/safe_outputs_tools.json: Added sentence tomissing_tooldescription: "When a bash command is blocked by security policy, call this tool with reason set to"security"."pkg/workflow/js/safe_outputs_tools.json: Same update to the embedded copy used by the Go binary.